Unfortunately, the hidden activity of "com.android.settings.ProxySelector" is not intended to set proxies for Wi-Fi networks. In fact, you can install the global proxy server using this action, but for standard applications you will not see the changes.
For example, the default browser uses this option only for MOBILE networks and completely ignores it for Wi-Fi networks .
Of course, you can read the settings in your personal application using library , but you cannot expect other applications to be the same: (
Please let me know if everything is clear. In any case, I am trying to highlight the problem here , so you can find more resources on this topic.
source share