On Wed, May 16, 2012 at 8:35 AM, Dan Uff <danny....@gmail.com> wrote:
> 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; > } > } > You don't need to call loadUrl in this method, and if you want to handle the URL yourself, you actually need to return false, not true. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en