Using maps under a proxy.

4 views
Skip to first unread message

Alok Sharma

unread,
Mar 21, 2011, 3:29:10 PM3/21/11
to bpgc-androi...@googlegroups.com
Hi,
well...Its working...I just tried the map application on the google api level 7, and it was working fine...there is just a different way to start the AVD. Heres how:

-Launch cmd in elevated mode..as in right click and launch as admin.
-change the directory to the place where ur emulator.exe is located ( program files\android\android-sdk-windows\tools )
-and type the following cmnd: emulator -avd ur_emulator_name -http-proxy http://your.proxy.address.here:8080

The above cmnd is all in one line...this will launch the AVD. I havent tried this with the app that i was making, but it was working fine on the pre-installed maps application so im guessing it will work with any other app thats using the map API. Also i tried this in API level 7.
Do reply back if its working with ur own apps or in any other API levels..
Thx.

Emaad Ahmed Manzoor

unread,
Mar 21, 2011, 3:36:56 PM3/21/11
to bpgc-androi...@googlegroups.com
Hey even if you add this as an emulator option it works! Right click
on your project -> Run As -> Run Configurations -> Target ->
Additional Emulator Options. Then type in -http-proxy 10.1.8.30:8080
(your own proxy) there.

--
Emaad Ahmed Manzoor,
Third Year Undergraduate,
BITS - Pilani, KK Birla Goa Campus.
halfclosed.wordpress.com

Emaad Ahmed Manzoor

unread,
Mar 21, 2011, 3:37:25 PM3/21/11
to bpgc-androi...@googlegroups.com
I initially though it was one of BITS net's quirks (it still might be).

Alok Sharma

unread,
Mar 21, 2011, 3:38:26 PM3/21/11
to bpgc-androi...@googlegroups.com
hehe...but i just tried it with api level 8 and it didnt work..working fine with 7...weird...
Reply all
Reply to author
Forward
0 new messages