IP Proxy Configuration for Android Emulators
Problem:
Three years back, I think in April 2009. I wasted my 3 days just to learn how to configure the *university proxy with our android emulator to use internet services. Finally, we come to know a number of methods like giving commands in the cmd-adb, my run manual. Here, i'm going to discuss the permanent solution for using internet in IP proxy Enternet.
Solution:
1. Open the command prompt
2. Browse your android-sdk/tools directory
3. Insure that adb is running, (by typing in the cmd)
4. type following commands
sqlite3 /data/data/com.android.providers.settings/databases/settings/db
5. Now, your cmd will looks like "sqlite>"
6. Now, it's time to insert something in the android adb. Type following commands
INSERT INTO system
VALUES (99, 'http_proxy', '10.1.11.11:8080');
(here in above case proxy is 10.1.11.11 and port number is 8080, choose your's one)
7. Confirm by checking your internet proxy
Regards
SolutionProvider
* there is a proxy internet in our university (NUST Pakistan)
Three years back, I think in April 2009. I wasted my 3 days just to learn how to configure the *university proxy with our android emulator to use internet services. Finally, we come to know a number of methods like giving commands in the cmd-adb, my run manual. Here, i'm going to discuss the permanent solution for using internet in IP proxy Enternet.
Solution:
1. Open the command prompt
2. Browse your android-sdk/tools directory
3. Insure that adb is running, (by typing in the cmd)
4. type following commands
sqlite3 /data/data/com.android.providers.settings/databases/settings/db
5. Now, your cmd will looks like "sqlite>"
6. Now, it's time to insert something in the android adb. Type following commands
INSERT INTO system
VALUES (99, 'http_proxy', '10.1.11.11:8080');
(here in above case proxy is 10.1.11.11 and port number is 8080, choose your's one)
7. Confirm by checking your internet proxy
Regards
SolutionProvider
* there is a proxy internet in our university (NUST Pakistan)
IP Proxy Configuration for Android Emulators
Reviewed by Unknown
on
Saturday, August 25, 2012
Rating:
No comments: