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. Selecting a city & location

I have an app in which I want to be able to select a location from a
list of cities, and find out the latitude / longitude for that city.

Now surely I don't need to store all that data in the app myself?
There must be an "intent" or similar available already to get that
info?  Certainly the "clock" & "weather" apps (on my htc hero) already
have a list of cities - can I somehow access that?



2. Android append 2 image source files

Hi All,
     Anybody tried to append 2 jpeg files in android?
i.e: a.jpeg and b.jpeg sd be appended and sd give one c.jpeg image file
consist of both images.

Any idea?



3. How to launch android emulator

4. Batere G1/Dream

5. How to launch my app if some one browses any xml file

6. Mi-ring ?

7. Is there any Android Handset which CDMA based?