Thanks Mark, that was exactly what I needed.  You rule.

  Cheers :-) //Johan

On 27 Sep, 17:23, Mark Murphy <mmur...@commonsware.com> wrote:
> Walles wrote:
> > I have aWebViewthat I've asked to load a page usingwebView.loadUrl
> > ().
>
> > How do I get a notification when theWebViewhas completed loading +
> > rendering the requested page?
>
> Step #1: Implement a custom subclass of WebViewClient, overriding
> onPageFinished() and putting in there your logic to be invoked when the
> page is ready:
>
> http://developer.android.com/reference/android/webkit/WebViewClient.h...)
>
> Step #2: Attach an instance of that WebViewClient subclass to theWebViewvia 
> setWebViewClient():
>
> http://developer.android.com/reference/android/webkit/WebView.html#se...)
>
> Step #3: There is no Step #3
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _Beginning Android_ from Apress Now Available!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to