-
《Android从入门到精通》源码
《Android从入门到精通》一书的所以源代码.....
- 2022-09-14 04:05:06下载
- 积分:1
-
Android开发中相当便捷的JSON反序列化实现(含源代码) 连带有handler和进度条功能
Handler handler = new Handler(){@Overridepublic void handleMessage(Message msg) {switch (msg.what) {case 1://反序列化结果在handler里使用MagazineCategoryResp magazineCatagoryList = (MagazineCategoryResp) msg.obj;//这里打印查看结果 可以以类的方式获取json值System.out.println("Result=" magazineCatagoryList.data.get(0).name);tvTest.setText(magazineCatagoryList.data.get(0).name);break;}super.handleMessage(msg);}};
- 2014-05-13下载
- 积分:1
-
ISSAuthorize
Android与IIS身份验证案例源码,在Android移动项目开发中,访问服务器时,为了简洁方便,我们经常使用http协议来传递JSON格式的数据。然而有些项目需要有一定的安全性,如使用Android客户端登陆到MIS系统。虽然我们是通过Android手机客户端的登陆Activity中登陆到系统的,但是略懂电脑的黑客是能够跳过登陆Activity,从而直接进入系统的。这样,会造成一些由于系统的不安全所带来的麻烦。建立一种防止黑客强行登录的身份验证模式尤为重要。此时,系统的身份验证成为阻挡黑客登陆的一道屏障。那么,怎样实现一个身份验证呢?让我们以IIS为宿主,一步一步的实现身份验证吧(Android and IIS authentication case source code, in the Android mobile project development, access to the server, in order to be simple and convenient, we often use the HTTP protocol to transfer JSON format data. However, some of the project needs to have a certain security, such as the use of Android client login to the MIS system. Although we are through the Android mobile client landing Activity landing to the system, but slightly understand the computer hacker is able to skip the landing Activity, thus directly into the system. In this way, it will cause some of the problems caused by the system is not safe. It is particularly important to establish an identity authentication mode to prevent hackers logging in. At this point, the identity of the system has become a barrier to prevent hackers landing. So, how to achieve an identity verification? Let us take IIS as the host, step by step to achieve authentication bar)
- 2016-06-20 11:04:56下载
- 积分:1
-
德州扑克手游
风靡欧美的德克萨斯扑克,这是JAVA开发的游戏源码供参考,希望对想开发这游戏的有帮助, 手机游戏德州扑克源码,包括服务器代码+安卓代码+IOS源码不是个人开发的,公司开发的,已经运营上线。The use of java source code developed by Texas poker, board games who want to develop friends, it should be some help
- 2022-06-12 15:43:38下载
- 积分:1
-
GPS定位
安卓获取GPS经纬度数据
安卓获取GPS经纬度数据
安卓获取GPS经纬度数据
安卓获取GPS经纬度数据
安卓获取GPS经纬度数据
安卓获取GPS经纬度数据
- 2022-07-17 10:37:01下载
- 积分:1
-
滑动开关控件
应用背景
滑动开关,用于滑动的需求
滑动开关,用于滑动的需求
滑动开关,用于滑动的需求
滑动开关,用于滑动的需求
滑动开关,用于滑动的需求
关键技术
自定义view,重写ondraw,onTouchEvent
自定义view,重写ondraw,onTouchEvent
自定义view,重写ondraw,onTouchEvent
自定义view,重写ondraw,onTouchEvent
自定义view,重写ondraw,onTouchEvent
- 2022-07-03 05:23:56下载
- 积分:1
-
android 操作 wifi 教程以及项目源码下载
在Android中对Wifi操作,android本身提供了一些有用的包,在android.net.wifi包下面。简单介绍一下:大致可以分为四个主要的类ScanResult,wifiConfiguration,WifiInfo,WifiManager(1)ScanResult,主要是通过wifi 硬件的扫描来获取一些周边的wifi 热点的信息。(2)wifiConfiguration 在我们连通一个wifi 接入点的时候,需要获取到的一些信息。大家可以跟我们有线的设备进行对比一下。(3)WifiInfo 在我们的wifi 已经连通了以后,可以通过这个类获得一些已经连通的wifi 连接的信息获取当前链接的信息,这里信息就比较简单了,这里简单介绍一下这里的方法: getBSSID() 获取BSSID getDetailedStateOf() 获取客户端的连通性 getHiddenSSID() 获得SSID 是否被隐藏 getIpAddress() 获取IP 地址 getLinkSpeed() 获得连接的速度 getMacAddress() 获得Mac 地址 getRssi() 获得802.11n 网络的信号 getSSID() 获得SSID getSupplicanState() 返回具体客户端状态的信息(4)wifiManager 这个不用说,就是用来管理我们的wifi 连接,这里已经定义好了一些类,可以供我们使用。这里来说相对复杂,里面的内容比较多,但是通过字面意思,我们还是可以获得很多相关的信息。这个类里面预先定义了许多常量,我们可以直接使用,不用再次创建。介绍完了,开始写一个Demo吧。程序已启动效果图如下:看代码,其中有注释,我就不多说了。布局文件代码:= mWifiConfiguration.size()) { return; } // 连接配置好的指定ID的网络 mWifiManager.enableNetwork(mWifiConfiguration.get(index).networkId, true); } // 得到MAC地址 public String getMacAddress() { return (mWifiInfo == null) ? "NULL" : mWifiInfo.getMacAddress(); } // 得到接入点的BSSID public String getBSSID() { return (mWifiInfo == null) ? "NULL" : mWifiInfo.getBSSID(); } // 得到WifiInfo的所有信息包 public String getWifiInfo() { return (mWifiInfo == null) ? "NULL" : mWifiInfo.toString(); } // 添加一个网络并连接 public int addNetwork(WifiConfiguration wcg) { int wcgID = mWifiManager.addNetwork(mWifiConfiguration.get(3)); mWifiManager.enableNetwork(wcgID, true); return wcgID; }}复制代码AndroidManifest.xml:(注意需要添加的权限) 复制代码布局文件就不贴了,我想看界面你都可以自己写出来,如果有需要,这里可以下载源代码:
- 2013-09-10下载
- 积分:1
-
Android实现ListView的A-Z字母排序
Android实现ListView的A-Z字母排序,是按照你每行的数据的首字符的首字母进行排序的,代码简单,清晰,有注释,适合初学者学习,使用
- 2022-01-22 14:53:36下载
- 积分:1
-
wallah午餐
这个应用程序将允许您浏览我们的菜单 (每天旋转菜单),还将允许您下订单。从他们的工作区,它将订购午餐帮助学生和在职人士。它允许您快速规划您的每日三餐。功能·午餐服务提供午餐和晚餐服务非常实惠的价格。·订单通过应用 (只是 3 水龙头到订单来源于当地的午餐和晚餐)。·功能听命于访客角色。·跟踪订单。·取消订单·通过查看 day-wise 菜单下订单。·货到付款·订单确认通知。·直接与送货员进行交互。·每月比尔代·精简的订单管理。·保存每日和每周膳食计划供以后使用·交货快捷 (平均 20 分钟,在你微笑的午餐将在你家门口与您的订单。请记住,是已经是包括小费 !)
- 2022-07-19 18:47:12下载
- 积分:1
-
NFC操作模块
此为一款读写NFC数据的项目框架,网络框架采用了Retrofit+RxJava的架构
- 2022-06-13 23:51:48下载
- 积分:1