Really strange...I found a lot of similar example, but with SDK 1.5_R2, the web content stays blank. I've set correctly permission. If I load my URL without a WebView Client my page is loaded correctly in default browser. I saw some opened bugs in Google Android tool.
Can you give a status of this code with the last SDK? Regards On Jun 24, 2:06 pm, Mark Murphy <[email protected]> wrote: > Sukitha Udugamasooriya wrote: > > I have awebviewand need to trigger a function when a user clicks on > > particular url. > > > How can I achieve this? > > 1. Implement a WebViewClient subclass > > 2. OverrideshouldOverrideURLLoading() on your WebViewClient subclass > > 3. Attach an instance of your WebViewClient subclass to theWebViewvia > setWebViewClient() > > 4. Put smarts inshouldOverrideURLLoading() to handle your particular URL > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ > Version 0.9 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

