title: Internet access on Android device behind proxy with authentication
body: <p>I am unable to connect to the Internet through android emulator 2.2 which is behind a proxy that requires proxy authentication. </p>
  
  <p>Searched a lot over the Internet to find a proper solution but none of them are working for me.</p>
  
  <p>I am running the emulator on a Ubuntu machine. </p>
  
  <p>Situation:
  I have an application which is designed to run on both ubuntu(linux) and android. </p>
  
  <p>This application has a feature to connect to internet by providing proxy details and it connects properly when run on ubuntu after providing correct details. however this fails to connect through the emulator.
  Even the web browser on the emulator doesn't connect to internet. Doing some changes in APN settings, it atleast gave me a webpage saying that the ISA server needs authentication, but never got any popup requesting to enter those details. </p>
  
  <p>By applying -debug-proxy flag to emulator, the logs showed that it is trying to connect to the requested proxy server, but the server is challenging with authentication and none of the applications seem to get a chance to fill in this details and hence failing. This is what is happening with my application. </p>
  
  <p>Does anyone have any clue why this could be happening and how i can resolve this issue? 
  Thanks in advance. </p>
  
  <p>P.S. This is happening on actual android devices as well, so it may not be the problem of just the emulator.</p>