关于Android中的移动网络部分的问题

JadeShaw 发布于 2012/04/24 14:27
阅读 326
收藏 1

android.net.wifi.STATE_CHANGE

android.net.wifi.WIFI_STATE_CHANGED,

与这2句对应的移动数据的语句是什么。

加载中
0
姚远
姚远

引用android reference:

Broadcast intent action indicating that Wi-Fi has been enabled, disabled, enabling, disabling, or unknown. One extra provides this state as an int. Another extra provides the previous state, if available.



Broadcast intent action indicating that the state of Wi-Fi connectivity has changed. One extra provides the new state in the form of a NetworkInfo object. If the new state is CONNECTED, additional extras may provide the BSSID and WifiInfo of the access point. as a String.

0
姚远
姚远

android.net.wifi.WIFI_STATE_CHANGED,
Broadcast intent action indicating that Wi-Fi has been enabled, disabled, enabling, disabling, or unknown. One extra provides this state as an int. Another extra provides the previous state, if available.

android.net.wifi.STATE_CHANGE
Broadcast intent action indicating that the state of Wi-Fi connectivity has changed. One extra provides the new state in the form of a NetworkInfo object. If the new state is CONNECTED, additional extras may provide the BSSID and WifiInfo of the access point. as a String.

返回顶部
顶部