Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop Internet access on the emulator android

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?

like image 562
Sephy Avatar asked Feb 10 '10 08:02

Sephy


People also ask

How do I temporarily disable Internet on Android?

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.

Can an emulator access the Internet?

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.


2 Answers

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

like image 95
ccheneson Avatar answered Sep 22 '22 08:09

ccheneson


Disconnect your development machine from the network.

like image 37
Nikola Smiljanić Avatar answered Sep 22 '22 08:09

Nikola Smiljanić