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. how can i put 15MB images in my App?

Hi,

i am afraid if Max space for android App is 14MB , how can i put 15MB
images in my App.
my application includes more than 500 PNG images which are
confidentials and cann't be put on sd card. i need to put them in my
assets.

is it something that can not be achieved in android?
--~--~---------~--~----~------------~-------~--~----~

2. My Emulator isnt launching .. :(

Hi. I am a newbie and i am using Eclipse on windows Xp. I have
installed ADT plugin. When i am running simple helloworld code and
running it. Console shows that emulator is launching but there is not
emulator displayed. Even i tried 'adb kill-server' & 'adb start-
server' and executed ' emulator & ' to start it manually but still
there was no change.

I need to know whether its installation error or smthing else.

regards,
wahib
--~--~---------~--~----~------------~-------~--~----~

3. How to execute chmod -R 777

4. Interacting with remote databases

5. What's the order of apps returned on marketplace search?

6. Eclipse layout feature?

7. Loading images in the background - and being able to cancel them