阅读背景:

如何在Android模拟器中模拟总网络丢失

来源:互联网 

I'm trying to write an application that needs to know when there is no IP network connection available. I am using the android.net.conn.CONNECTIVITY_CHANGE broadcast event along with ConnectivityManager to react to the changes in state to achieve this, but I'm having problems testing my set up in the emulator.I'm trying to write an application that needs t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: