http://screencast.com/t/woonahzknxz

On Fri, Jun 15, 2012 at 7:53 PM, nodoid <[email protected]> wrote:

> 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.
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
Extreme Knowledge is not something for which he programs a computer but for
which his computer is programming him.

-Wozniak
_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to