Skip to content Skip to sidebar Skip to footer

Android Webview Load In Background

I have an app which i want to open a webview right now i am loading the webview the most simple way i would like to load the webpage in the background so the user will not have a

Solution 1:

You can set the webview's visibility to GONE and load the page and when onPageFinished is fired, you can then show the webview.

Hope this helps.

Solution 2:

I hade the same problem a while ago, I know what you want. Asynctask! here is a good link I read on to get it to work!

http://www.brighthub.com/mobile/google-android/articles/82805.aspx

How you get it to work properly. Load your webview in the doInBackground and perhaps a ProgressDialog that shows that your app i working?

GL mate

Solution 3:

you can use asynctaskLoader take a look it's better than the asynctask because it can manage the orientation changed and some other cool things...

Post a Comment for "Android Webview Load In Background"