[mono-android] How to get proxy settings
Builder
peter.gejgus at gmail.com
Mon Jan 23 12:15:22 UTC 2012
Hello,
I'm trying to get current proxy settings:
string proxySettings =
Android.Provider.Settings.System.GetString(this.ContentResolver,
Android.Provider.Settings.System.HttpProxy);
But I still get null, even when I set proxy on my Samsung Galaxy S II
(Settings->Wireless and network->Wi-Fi settings->Advanced). The same I got
when tried this:
string proxySettings =
Android.Provider.Settings.Secure.GetString(this.ContentResolver,
Android.Provider.Settings.Secure.HttpProxy);
Or is it necessary to retrieve it via JNI?
Peter
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-get-proxy-settings-tp5165927p5165927.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list