Well, lets face it. Most of the android developers work in firms with stringent IT policies which include accessing the internet through proxies. I had a harrowing time trying to get internet access on my emulator. Here's a solution that worked for me. Hope it will help others facing the same issue:
In your Emulator go to:
1. Settings -> Wireless & Networks -> Mobile Networks -> Access Point Names.
2. You will find an APN called as "TelKila". Click on it.
3. Add your proxy server and port there.
In your Eclipse go to:
1. Window -> Preferences -> Android -> Launch
2. Add the following command in "Default emulator options"
-http-proxy -debug-proxy http:// < server >: < port >
3. If you have a username and a password then you can add:
-http-proxy -debug-proxy http:// < username >:< password >@ < server >:< port >
Now you can browse the internet on the emulator browser!
Hope this helps!
In your Emulator go to:
1. Settings -> Wireless & Networks -> Mobile Networks -> Access Point Names.
2. You will find an APN called as "TelKila". Click on it.
3. Add your proxy server and port there.
In your Eclipse go to:
1. Window -> Preferences -> Android -> Launch
2. Add the following command in "Default emulator options"
-http-proxy -debug-proxy http:// < server >
3. If you have a username and a password then you can add:
-http-proxy -debug-proxy http:// < username >:< password >@ < server >:< port >
Now you can browse the internet on the emulator browser!
Hope this helps!
No comments:
Post a Comment