How to simulate no internet on the emulator apart from disconnecting my computer, I still want to be connected via browser etc.
Setting the signal strength to none doesn't seem to stop apps from getting an internet connection.
As mentioned, airplane mode is an obvious answer. Another good way is to run it through a proxy such as fiddler, which would allow you not just to turn off the connection but to fake a bad connection with high packet loss or latency and see how you work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.