Question

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?

Was it helpful?

Solution

You can also use F8 to set the cell network on/off. See here

OTHER TIPS

Disconnect your development machine from the network.

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top