Hi all,
I am developing an app that a user selects an option from a menu and
goes into a WebView.  I got that working, but I also need a back
button to go back to the menu, so the user can make another option.

I'm trying to override the standard browser behavior with the
following code:

============
private class HelloWebViewClient extends WebViewClient {
  @Override
  public boolean shouldOverrideUrlLoading(WebView view, string url) {
view.loadUrl(url);
return true;
}
}
==============

Then I call the following:

webview.setWebViewClient(new HelloWebViewClient());

....

But it STILL defaults to the built in web browser WITHOUT the back
button?

Thanks,
Dan Uff

P.S.  Please email me at [email protected] as I am fairly new to
this messages board and do not know how to get replies to my questions
yet - Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to