title: Setting proxy username and password programmatically Android
body: <p>Currently I am working on a application where I want to send request to server which is behind proxy. I found code to set proxy which is as below</p>
  
  <pre><code>HttpHost httpproxy = new HttpHost("ip",8080);
  httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, httpproxy);
  </code></pre>
  
  <p>Now I want to set username and password. Does anyone know how to set username and password for proxy.</p>