Skip to content Skip to sidebar Skip to footer

Android Proxy Wifi Vs Mobile

I know it is a mess when it comes to proxy support in Android and a lot of frustration too. I read most of posts on SO and I am still confused. I would like to support both Wifi pr

Solution 1:

With reflection you can get the proxy settings for each Wi-Fi access point. It's what this library does. You can use it to easily access the proxy settings for the current configuration.

Solution 2:

So can i set system proxy for wifi and mobile network from my application?

No, unless your app is part of the firmware.

Any difference before honeycomb and after honeycomb?

Not with respect to whether or not you can set them.

What's the preferred way to get proxy settings for wifi and mobile network?

AFAIK, there is only one accessible proxy setting, Settings.Secure.HTTP_PROXY, which you get via a call to getString() on Settings.Secure.

Any difference before honeycomb and after?

Not that I am aware of.

Post a Comment for "Android Proxy Wifi Vs Mobile"