开发者

Is it possible to test offline mode on android emulator?

开发者 https://www.devze.com 2023-03-23 09:02 出处:网络
I wonder if it possible to test offline mode on android emulator? Im trying to use ddms fo开发者_如何转开发r this. But when i set telephony status data to \"denied\" or \"unregistered\" nothing change

I wonder if it possible to test offline mode on android emulator? Im trying to use ddms fo开发者_如何转开发r this. But when i set telephony status data to "denied" or "unregistered" nothing changes and application still can receive data.


F8 didn't work for me.

To test offline functionality in my Android emulator, I use the phone's settings to put the emulator in Airplane Mode, or shut off both cellular and WiFi.


For Telephony Offline/Online Mode :

You can Toggle cell networking on/off by pressing F8

You can refer full Controls Of Emulator here : http://developer.android.com/guide/developing/devices/emulator.html#controlling


If you are speaking about the cell network, press f8 to toggle it on/off: http://developer.android.com/guide/developing/tools/emulator.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号