WebView wait for images

by Mark Murphy » Fri, 23 Apr 2010 05:16:54 GMT

Sponsored Links

At least for your initial page, you can make it invisible to start, then
use a WebViewClient and onPageFinished() to find out when the page is
fully-loaded, then make it visible. I've used this in conjunction with a
custom RotateAnimation progress indicator, for example.

Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android Consulting:  http://commonsware.com/consulting 


WebView wait for images

by Maps.Huge.Info (Maps API Guru) » Fri, 23 Apr 2010 05:27:15 GMT

 Have you tried using the onPageFinished test?

Additionally, if you have control over the page you're loading, you
can test for images directly in the JavaScript easily enough.

-John Coryat

"Radar Now!"

"What Zip Code?"


Sponsored Links

Other Threads

1. troubleshooting debugger issues


Can anyone recommend how to troubleshoot de{*filter*} issues, i.e., why
the de{*filter*} doesn't always stop at breakpoints or why it seems to
randomly disconnect.  I often have to stop the emulator and try to
start the de{*filter*} and emulator again.  Sometimes the de{*filter*} doesn't
seem to re-attach, too.



2. [Camera API] Force Close Does Not Release Camera Resource

So while developing a custom camera application I've realized on rare
occasions and on various devices if the app has to force close, it
does not always release the camera resource.

Is there a way to find/detect the process that is holding onto this
resource and kill it?  Or some other technique?  It is rather
difficult bug to reproduce (for me anyway), but ultimately the device
has to be restarted.



3. Background Color

4. Help Tentang Myn's ROM RLS-5

5. hai salam newbie

6. Sinarmas.net.id dirubah jg smart.net .id

7. Need help with layout problem.