shouldOverrideUrlLoading is only called if the loading request is triggered by a user action, like click on a link. It is not called for webview.loadUrl. thanks, Grace
On Thu, Jul 2, 2009 at 5:58 AM, ioRek <[email protected]> wrote: > > Hi everybody, > I have some issues in intercepting resource or url and cancel them. > > here is an exemple : > I have a webview.loadUrl("http://www.anyurl); but the server > actually redirect me on an other url. > > How to cancel this redirect ? > > I can see the new url in "onLoadResource" but I can't block it at this > state > > The shouldOverrideUrlLoading could be great but it's not call in this > case . > > I read a lot of stuff about shouldoverride and I saw there are some > bugs so I would be happy to have some help on this. > > Regards, > Jeremy > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

