Settings.Secure.HTTP_PROXY deprecated in ICS but no information on replacement
The Android developer docs say the following about Settings.Secure.HTTP_PROXY : Host name and port for global http proxy. Uses ':' seperator for between host and port TODO - deprecate in favor of global_http_proxy_host, etc But there is not any information about global_http_proxy_host . Now I always get null when trying to read Settings.Secure.HTTP_PROXY . Settings.Secure.HTTP_PROXY was working properly in all releases before ICS. You can use Java Reflection to set the global proxy tested on ICS. UPDATED CODE Activity activity = this; private void setProxtAndPortOnICS(String porxyServer2, int