1

There are couple of possible states in NetworkInfo class of Android. Currently I log the detailed state information of the device/emulator each 100ms but have never seen the states other than CONNECTED, CONNECTING, DISCONNECTED. I tried from Emulator Control tab of Eclipse switching Voice and Data status to roaming, denied, searching etc. but again couldn't observe the other states in the logs.

Is there a way to put the device or the emulator to other states such as AUTHENTICATING, SCANNING, SUSPENDED etc. Any help is appreciated.

4

1 回答 1

0

也许您应该使用真实设备进行测试。模拟器可能具有简化的功能。

于 2014-05-30T19:52:46.177 回答