1

How to set proxy for a webview programmatically which works for all api's in android. Any example code or sources would be helpful.

sundeep
  • 601
  • 1
  • 8
  • 21

1 Answers1

1

Check this: WebView android proxy

HttpHost can be created like:

HttpHost proxy = new HttpHost("someproxy", 8080);

And pased to the method written in the link.

Hope it helps,

Community
  • 1
  • 1
pdj
  • 221
  • 1
  • 2
  • 7