Use "Handler" and "Message" in your backgroud thread to load web page.

On Aug 4, 7:07 am, "droidin.net" <[email protected]> wrote:
> In my app I have to load external page into WebView-based activity.
> Some of my users with slower connections are reporting screen timeout
> while waiting for the page to load. What would be a good way of
> loading the page on backgorund thread and then refreshing the screen?
> Use HttpClient to fetch it and then use WebView#loadData? My fear is -
> the page I'm loading is pretty complicated there's some JS that
> happens on load - wouldn't I just mess it up? Is there an alternative
> way of doing what I need?
>
> Thanks,
>
> Bo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to