Hi, I'm facing this problem and found this answer on Stackoverflow. It is not perfect but can help. Depends on the html page.
http://stackoverflow.com/questions/3852414/in-a-webview-is-there-a-way-for-shouldoverrideurlloading-to-determine-if-it-is-c Best regards, Sylvain On Wednesday, July 25, 2012 7:27:18 AM UTC+2, Adi wrote: > > Hi Hendy, > > even I am facing this problem , and it is so ridiculous that since 1 year > we dind get any solution...please reply with the solution u applied for > this problem. > > thanks in advance > > Adithya > Android developer > > On Thursday, 10 March 2011 13:29:21 UTC+5:30, Hendy wrote: >> >> The default behaviour of webview is to open a new browser window when >> url redirection happends or a link in the current page is clicked. >> >> I know that implementing my own WebViewClient and override >> shouldOverrideUrlLoading can handle both of this. But how to >> distinguish these two? Because the redirection can be considered as >> the same content of the original url. But new link url is different. > > -- 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

