Click here to Skip to main content
15,883,954 members
Articles / Mobile Apps / Android

Android Proxy Configuration for Emulator[Solved]

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
17 Apr 2011CPOL 47.2K   10   1
It is actually for configuring proxy on Android emulator so that the users can access the internet from their Android emulators.

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.
    SQL
    INSERT INTO system VALUES(99,’http_proxy’,'Proxy IP:port’);
  8. Check your entry by typing:
    SQL
    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)


Written By
Software Developer (Senior)
India India
I am a Java software developer. I like to make new software which can be helpful to people. You may get in touch with me at https://cooltrickshome.blogspot.in

Comments and Discussions

 
NewsAndroid Proxy List Pin
proxydev2-Sep-11 8:03
proxydev2-Sep-11 8:03 

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

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