Reputation: 601
How to set proxy for a webview programmatically which works for all api's in android. Any example code or sources would be helpful.
Upvotes: 1
Views: 3139
Reputation: 221
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,
Upvotes: 1