On devices with API version> = 11 (Android 3.1 and higher), the answer is here:
Android Proxy Confuses Documentation Resources
You can simply call the getDefault () method from the ProxySelector class and get the default Android ProxySelector default implementation.
ProxySelector defaultProxySelector = ProxySelector.getDefault(); Proxy proxy = null; List<Proxy> proxyList = defaultProxySelector.select(uri); if (proxyList.size() > 0) { proxy = proxyList.get(0); Log.d(TAG, "Current Proxy Configuration: " + proxy.toString()); }
I think that some Android applications (you said Opera and Firefox) just do not perform this check, but they implement some of their own proxy server functions without worrying about how the system works.
source share