Hello,

I tried to run this code (on Samsung galaxy s2) according to your hint:

string proxy;
int port = -1;
string user, password;
Android.Net.Uri uri =
Android.Net.Uri.Parse("content://telephony/carriers/current");
var cursor = this.ManagedQuery(uri, new string[] { "proxy", "port", "user",
"password" }, null, null, null);
if (cursor.MoveToNext())
{
   proxy = cursor.GetString(0);
   port = cursor.GetInt(1);
   user = cursor.GetString(2);
   password = cursor.GetString(3);
}

No success. Any other ideas?

Peter

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/How-to-get-proxy-settings-tp5165927p5460158.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to