[mono-android] Returning back from an activity that calls a SetWebViewClient
nodoid
paul at all-the-johnsons.co.uk
Sat Jun 16 00:53:24 UTC 2012
Hi,
Hi,
I have a simple problem
Activity A calls Activity B
Activity B has a webview and looks like this
SetContentView(Resource.Layout.webView);
WebView webView = FindViewById<WebView>(Resource.Id.webView1);
webView.Settings.JavaScriptEnabled = true;
webView.LoadUrl(url);
webView.SetWebViewClient(new dealWithWebView());
In dealWithWebView(), I have this
class dealWithWebView : WebViewClient
{
WebView webView;
public override void OnPageFinished(WebView view, string url)
{
webView = view;
Context c = webView.Context;
// it goes away and does something
// calls another method in the class which returns back here
}
}
Problem is that I don't seem to be able to get it to return back from the
WebViewClient and then from "B" return back to "A".
How do I do this?
Paul
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Returning-back-from-an-activity-that-calls-a-SetWebViewClient-tp5710374.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list