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?
To turn off the Internet connection on an Android phone:Go to Settings > Wireless Network > <bold>Mobile. Simply uncheck the box next to Data Enabled so that your phone will not connect over the data network.
If your emulator must access the internet through a proxy server, you can configure a custom HTTP proxy from the emulator's Extended controls screen. With the emulator open, click More , and then click Settings and Proxy. From here, you can define your own HTTP proxy settings.
You can also use F8 to set the cell network on/off. See here
Disconnect your development machine from the network.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With