Hi,
I am trying to submit data to a url from a webview...with no success...
this is my code.. am I doing something wrong?
Android.Webkit.WebView webview = new Android.Webkit.WebView(this);
webview.Settings.LoadWithOverviewMode = true;
webview.Settings.UseWideViewPort = true;
webview.Settings.JavaScriptEnabled = true;
webview.SetPadding(0, 0, 0, 0);
webview.SetInitialScale(1);
SetContentView(webview);
string _post = "value1=val1&value2=val2";
byte[] post = Encoding.UTF8.GetBytes(_post);
webview.PostUrl("http://xxx.com", post);
The fact.. this code seems to work but the parameters are not working. the
submitted parameters are used to log into the web...but..
thanks in advance!!
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/submitting-data-from-webview-tp5712730.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