title: How to change the global proxy settings on Android devices in Gingerbread
body: <p>I read the Android source code, and I am still confused about how to change the global proxy settings on devices.</p>
  
  <p>It seems that <code>ProxySelectorImpl</code> just works for <code>HttpUrlConnection</code>. It then sets <code>Settings.Secure.HTTP_PROXY.RequestQuene</code>. <code>RequestQuene</code> will receive the proxy change broadcast and then call the method <code>setProxyConfig</code>. I don't know how <code>RequeneQuene</code> works in the network connection.</p>
  
  <p>Can anyone tell me how Android handles different types of network requests and their proxies?</p>