Click here to Skip to main content
Click here to Skip to main content

Android Proxy Configuration for Emulator[Solved]

By , 17 Apr 2011
Rate this:
Please Sign up or sign in to vote.

Introduction

This is a post for all those working on Android and wanting to access the internet over Android.
Just follow these simple steps:

  1. First of all, open cmd.
  2. Move to tools directory of your Android folder. For example, 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 the net from the Android emulator.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

csanuragjain
Software Developer
India India
I am a Java software developer. I like to make new software which can be really helpful to people. You may get in touch with me at http://www.martcode.com

Comments and Discussions

 
NewsAndroid Proxy List Pinmemberproxydev2-Sep-11 8:03 
5 stars goes for you! great explanation and it works. I tested with Android proxy IP addresses from that list and works every time.
 
At that list there's an online tool to visit from your phone and know if your Android IP is the address of the proxy server or not.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140421.2 | Last Updated 17 Apr 2011
Article Copyright 2011 by csanuragjain
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid