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.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to