If you are behind a proxy and looking to connect the emulator to Internet, Luisa Magarian have posted the way to set proxy for the emulator. It uses the command line and the adb utility. First change directory to the emulator tools folder, you will find also the adb utility there. Run the emulator, then from command line :
- ./adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db “\”INSERT INTO system VALUES(99,’http_proxy’,’ [host_or_IP]:[port]’);\”"
- Change [host_or_ip] and [port] to your correct proxy values
- Try to connect from Android and it should be working fine.
Luisa posted also the way to access some Android’s system setting using SQLite, this will help to get more information on how Android work, for example to retrieve all settings :
- ./adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db “\”SELECT * FROM system\”"
- This will return :
1|music_volume|3
2|voice_volume|3
3|ringer_volume|3

Popularity: 56%






November 20th, 2007 at 4:41 pm
So the hack works for the browser … fair enough.
Unfortunately it does not for the map viewer.
Ufux
November 23rd, 2007 at 6:55 pm
Tnx,
It works.
November 23rd, 2007 at 6:58 pm
2 Ufux
The same
December 4th, 2007 at 4:28 am
How can i connect to the Map in Android through a proxy server which need username and password?
Thanks
December 8th, 2007 at 9:16 am
Hi,
i set the proxy…browser works fine. but i can’t view the map.anyone can tell me…what is the solution..
December 11th, 2007 at 2:50 pm
i have same problem Blank screen without any map show on my Android emulator……plz help how to acess map on android emulator??
January 22nd, 2008 at 12:44 pm
What should i give in ‘http_proxy’ field?
I am not getting it.
My IP is DHCP enabled. So is there any problem caused by this?
Plz reply..
April 2nd, 2008 at 10:39 am
How if the proxy setting is automatically by a http://xx.xx.xx/xx.pac
June 24th, 2008 at 10:54 am
How can i connect to the Map in Android through a proxy server which need username and password?