Monday, January 31, 2011

Android Proxy Configuration for Emulator[Working]

This is a post for all those working over Android and want to access internet over Android .
Just follow these simple steps:
1)First of all open cmd
2)Move to tools directory of your android folder
For eg in my case :cd E:/Downloads/software/android-sdk-windows/tools/
3)Run the Android (Do so by eclipse or using Android.bat)
4)Now when you have reached the menu screen of Android then type adb shell in cmd
5)Your prompt should change like #
Now type: sqlite3 /data/data/com.android.providers.settings/
databases/settings.db
6)Now your command prompt will look like sqlite>
7)Enter this command where Proxy IP is the IP of your Proxy server and port is its port value.
INSERT INTO system VALUES(99,’http_proxy’,'Proxy IP:port’);
8)Check your entry by typing select * from system;
9)If you found your entry then move over to your android mobile.
10)Click the home button
11)Click on menu button
12)click on settings
13)click on wireless control
14)click on mobile networks.
15)click on access point name
16)click on the access point shown
17)Now a menu comes fill your proxy,port,username,password etc information on that page.
18)Now you can access net from the android emulator.

No comments:

Post a Comment