1

My webkit based application (written in html/js) needs to use proxy. So I am looking for a way to programmatically set webkit proxy setting on Android when my application starts.

Please let me know if you know of any way to achieve this task on Android platform.

Farm
  • 3,356
  • 2
  • 31
  • 32

1 Answers1

0

There is abundant information out there about this not being possible to do in a reliable manner.

Using reflection on the WebView to set the proxy that way as documented at WebView android proxy also does not work on later android devices.

You might find that it works on the android emulator, but on physical hardware it won't work. You'd be better off try to set a proxy on a per-wifi hotspot basis on Honeycomb or ICS.

Alternatively you can set a proxy on Opera mobile and firefox for android using the advanced configuration options.

Community
  • 1
  • 1
Lee
  • 3,996
  • 3
  • 33
  • 37