I have a problem with handling http requests with proxy on Android. I have a 3rd-party component which contacts a server and I need it to communicate via proxy. I can’t set proxy in system. Handling of proxy for DefaultHttpClient should be fine but there is a problem with 3ed-party component which can’t be accessed (don’t have a source code) and can’t set a proxy.
My questions are:
Is there any way to set proxy only for my application?
Or
Is there any way to create listener to http requests to handle proxy setting when calling for website?
Or
Any other ideas?
Even if there was, if the third party component is not using system libraries, but their own, it would still not pick it up. Contact them and have them add proxy support, or at least make it clear what HTTP library they are using.