nikhil wrote: > I had just overridden onPageFinished in my webviewclient this resulted > in opening links and redirects inside the app while > > when I tried shouldOverrideUrlLoading to invoke the browser it started > opening everything outside my app.
I think you have that inverted. > I donno what do you exactly mean by don't override clicked links... shouldOverrideUrlLoading() receives the URL that was clicked on. You return a boolean indicating whether you handled it (true) or not (false). For ones you want to keep in the WebView, return true and use loadUrl() to load the URL in the WebView. For ones you want the Browser to handle, return false. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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 To unsubscribe, reply using "remove me" as the subject.

