How to set system wide proxy in ICS

北战南征 提交于 2019-12-06 04:45:50

Unfortunately the hidden activity "com.android.settings.ProxySelector" is not designed for setting the proxy for Wi-Fi networks. In fact you can set a global proxy using this activity but for standard applications you won't see a change.

For example the default browser use this setting only for MOBILE networks and completely ignore it for Wi-Fi networks.

Of course you can read the settings in your personal app using this library, but you can't expect that other applications will do the same :(

Please let me know if everything is clear. Anyway I'm trying to cover the problem here, so you can find more resources on this topic.

if the device is rooted. you can edit the Iptable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!