I am testing a database storage after retrieving data from the internet, I would like to be able to start the emulator with internet working, and then, while it is running, stop internet access to force it using the database as a source to display data. Is that possible?
问问题
5179 次
3 回答
37
You can also use F8 to set the cell network on/off. See here
于 2010-02-10T09:22:40.847 回答
7
Disconnect your development machine from the network.
于 2010-02-10T09:00:49.253 回答
1
为了在我的 Android 模拟器中测试离线功能,我使用手机的设置将模拟器置于飞行模式,或者关闭蜂窝网络和WiFi。
于 2019-07-18T13:38:49.203 回答