title: Socks proxy in android
body: <p>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 </p>
  
  <pre><code>System.setProperty("socksProxyHost", proxyHost);
  System.setProperty("socksProxyPort", port);
  </code></pre>
  
  <p>and also </p>
  
  <pre><code>SocketAddress addr = new InetSocketAddress(proxyHost, proxyPort);
  Proxy httpProxy = new Proxy(Proxy.Type.SOCKS, addr);urlConn = url.openConnection(httpProxy);
  </code></pre>
  
  <p>but Falied. I want to connect and consume SOCKS Proxy connection &amp; Web Service in my App on Device.Thanks in advance.</p>