文件名称:Wifi
介绍说明--下载内容来自于网络,使用问题请自行百度
在Android中对Wifi操作,android本身提供了一些有用的包,在android.net.wifi包下面。简单介绍一下:
大致可以分为四个主要的类ScanResult,wifiConfiguration,WifiInfo,WifiManager
(1)ScanResult,主要是通过wifi 硬件的扫描来获取一些周边的wifi 热点的信息。
(2)wifiConfiguration 在我们连通一个wifi 接入点的时候,需要获取到的一些信息。大家可以跟我们有线的设备进行对比一下。
(3)WifiInfo 在我们的wifi 已经连通了以后,可以通过这个类获得一些已经连通的wifi 连接的信息获取当前链接的信息,这里信息就比较简单了
(4)wifiManager 这个不用说,就是用来管理我们的wifi 连接,这里已经定义好了一些类,可以供我们使用。这里来说相对复杂,里面的内容比较多,但是通过字面意思,我们还是可以获得很多相关的信息。这个类里面预先定义了许多常量,我们可以直接使用,不用再次创建。
-Operate on Wifi in Android , android itself provides some useful package, android.net.wifi package below . A brief introduction:
Can be divided into four main classes ScanResult, wifiConfiguration, WifiInfo, WifiManager
(1) ScanResult, mainly through wifi hardware scan to get some information about the surrounding wifi hotspot .
(2) wifiConfiguration in our connectivity when a wifi access point , you need to get some information . We can tell our wired devices compare .
(3) WifiInfo have in our wifi connectivity after , you can get some of this class have been connected wifi connection information for the current link information , where information is relatively simple
(4) wifiManager this goes without saying , is used to manage our wifi connection , where some classes have been defined , can be for our use. Here is relatively complex , which more content , but through the literal meaning , we can still get a lot of relevant information. This class is a lot of pre-defined constan
大致可以分为四个主要的类ScanResult,wifiConfiguration,WifiInfo,WifiManager
(1)ScanResult,主要是通过wifi 硬件的扫描来获取一些周边的wifi 热点的信息。
(2)wifiConfiguration 在我们连通一个wifi 接入点的时候,需要获取到的一些信息。大家可以跟我们有线的设备进行对比一下。
(3)WifiInfo 在我们的wifi 已经连通了以后,可以通过这个类获得一些已经连通的wifi 连接的信息获取当前链接的信息,这里信息就比较简单了
(4)wifiManager 这个不用说,就是用来管理我们的wifi 连接,这里已经定义好了一些类,可以供我们使用。这里来说相对复杂,里面的内容比较多,但是通过字面意思,我们还是可以获得很多相关的信息。这个类里面预先定义了许多常量,我们可以直接使用,不用再次创建。
-Operate on Wifi in Android , android itself provides some useful package, android.net.wifi package below . A brief introduction:
Can be divided into four main classes ScanResult, wifiConfiguration, WifiInfo, WifiManager
(1) ScanResult, mainly through wifi hardware scan to get some information about the surrounding wifi hotspot .
(2) wifiConfiguration in our connectivity when a wifi access point , you need to get some information . We can tell our wired devices compare .
(3) WifiInfo have in our wifi connectivity after , you can get some of this class have been connected wifi connection information for the current link information , where information is relatively simple
(4) wifiManager this goes without saying , is used to manage our wifi connection , where some classes have been defined , can be for our use. Here is relatively complex , which more content , but through the literal meaning , we can still get a lot of relevant information. This class is a lot of pre-defined constan
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Wifi/.classpath
Wifi/.project
Wifi/AndroidManifest.xml
Wifi/bin/classes.dex
Wifi/bin/org/sunchao/Main.class
Wifi/bin/org/sunchao/R$attr.class
Wifi/bin/org/sunchao/R$drawable.class
Wifi/bin/org/sunchao/R$id.class
Wifi/bin/org/sunchao/R$layout.class
Wifi/bin/org/sunchao/R$string.class
Wifi/bin/org/sunchao/R.class
Wifi/bin/org/sunchao/WifiAdmin.class
Wifi/bin/resources.ap_
Wifi/bin/Wifi.apk
Wifi/default.properties
Wifi/gen/org/sunchao/R.java
Wifi/proguard.cfg
Wifi/res/drawable-hdpi/icon.png
Wifi/res/drawable-ldpi/icon.png
Wifi/res/drawable-mdpi/icon.png
Wifi/res/layout/main.xml
Wifi/res/values/strings.xml
Wifi/src/org/sunchao/Main.java
Wifi/src/org/sunchao/WifiAdmin.java
Wifi/bin/org/sunchao
Wifi/gen/org/sunchao
Wifi/src/org/sunchao
Wifi/bin/org
Wifi/gen/org
Wifi/res/drawable-hdpi
Wifi/res/drawable-ldpi
Wifi/res/drawable-mdpi
Wifi/res/layout
Wifi/res/values
Wifi/src/org
Wifi/assets
Wifi/bin
Wifi/gen
Wifi/res
Wifi/src
Wifi
Wifi/.project
Wifi/AndroidManifest.xml
Wifi/bin/classes.dex
Wifi/bin/org/sunchao/Main.class
Wifi/bin/org/sunchao/R$attr.class
Wifi/bin/org/sunchao/R$drawable.class
Wifi/bin/org/sunchao/R$id.class
Wifi/bin/org/sunchao/R$layout.class
Wifi/bin/org/sunchao/R$string.class
Wifi/bin/org/sunchao/R.class
Wifi/bin/org/sunchao/WifiAdmin.class
Wifi/bin/resources.ap_
Wifi/bin/Wifi.apk
Wifi/default.properties
Wifi/gen/org/sunchao/R.java
Wifi/proguard.cfg
Wifi/res/drawable-hdpi/icon.png
Wifi/res/drawable-ldpi/icon.png
Wifi/res/drawable-mdpi/icon.png
Wifi/res/layout/main.xml
Wifi/res/values/strings.xml
Wifi/src/org/sunchao/Main.java
Wifi/src/org/sunchao/WifiAdmin.java
Wifi/bin/org/sunchao
Wifi/gen/org/sunchao
Wifi/src/org/sunchao
Wifi/bin/org
Wifi/gen/org
Wifi/res/drawable-hdpi
Wifi/res/drawable-ldpi
Wifi/res/drawable-mdpi
Wifi/res/layout
Wifi/res/values
Wifi/src/org
Wifi/assets
Wifi/bin
Wifi/gen
Wifi/res
Wifi/src
Wifi
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.