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. move screen on fling

I have my gestureDetector working and can capture the fling and change to
the next screen, but I don't have the nice animation of moving the screen to
the left or right when you do the fling.  How do I animate the screen so it
looks like it is going left when you fling left and going right when you
fling right?  I have been looking and can't seem to find anything that talks
about this.  I would appreciate an article that describes this as much as an



2. OOT: The End of Google Wave


"Indonesian Android Community [id-android]" 

3. Google Maps - MapView - draw a nice flight route between 2 points

4. How to use Intent in the service?

5. glReadPixels and Bitmap.Config are not your friends!

6. How to customize quick search box? can i add another button?

7. Android testing: can't programmatically press buttons, etc...