Subscribe to my RSS feed RSS
January 18, 2010

How do I set a proxy on my Android browser?

  • Written by under technology |
  • 3 comments already |

I’ve connected my Android phone to my Wifi network at work, but they use a proxy and I cannot use my browser without setting the proxy on my browser. Is there any way I can do this?


The great thing about Android is that the operating system on your phone is open up to any tweaking you might want to do. unfortunately, there is no UI for proxy settings for Android web browser. Instead the Android web browser will read the proxy settings in its settings database.

Here are the instructions to enable the proxy in the android web browser.

  1. > adb shell
  2. # sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db
  3. sqlite> INSERT INTO system VALUES(99,’http_proxy’, ‘proxy:port’);
  4. sqlite>.exit

You can talk to settings.db for more information.

  1. sqlite> SELECT * FROM system;
  2. sqlite> .tables
  3. sqlite> .databases
  4. sqlite> .schema table_name
  5. sqlite> any SQL expressions to talk to the tables

Give it a whirl and see how you get on. Once you have the proxy set up, you can visit The Joke Shop, Free People or any other website you want to go to.

Short URL: http://owen.in/lRlm7A
Feed for this Entry | Trackback Address

3 comments already

  1. Nathan Pledger on 01.20.2010 at 3:58 am | permalink
  2. You mean Android has a command line? If I’d have known that …
    I think it’s looking more like Android for my next phone. Damn you, Google!

  3. Owen on 01.20.2010 at 4:26 am | permalink
  4. Of course it has a command line. It’s just a Linux distro after all. You get to the command line in one of 2 ways:

    1. ADB (Android Debug Bridge) over a USB connection ( http://developer.android.com/guide/developing/tools/adb.html )
    2. Terminal Emulator running on the phone itself (example: http://www.androlib.com/android.application.com-android-term-jpAz.aspx)

    Best fun I’ve ever had on a phone ;)

  5. rd on 06.28.2011 at 1:33 pm | permalink
  6. i have a problem also with my android phone LG OPTIMUS ME… i cant connect to a wifi that uses proxy server… may u help me how to do those command line youve given? i mean what application or where or which part i need to write those command line… please help me;… :’(

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>