Socks proxy in android
How to Connect SOCKS Proxy connection in android emulator, I am able to
connect successfully SOCKS Proxy Server on system browser but it not work
in emulator, when using System network setting. I have tried
System.setProperty("socksProxyHost", proxyHost);
System.setProperty("socksProxyPort", port);
and also
SocketAddress addr = new InetSocketAddress(proxyHost, proxyPort);
Proxy httpProxy = new Proxy(Proxy.Type.SOCKS, addr);urlConn =
url.openConnection(httpProxy);
but Falied. I want to connect and consume SOCKS Proxy connection & Web
Service in my App on Device.Thanks in advance.
No comments:
Post a Comment