My Android app has an Update class and I have, in the same app, another class which opens a website through the webview. The problem is that I would like to have the Update-class to load the url but not showing it, then caching it (if possible, so if the user is offline it should be able to view some of the contents) and then I would be able to show it later on in the app but without the 3 – 10 second loading time.
It’s a facebook page and I am in the cold on this one. Any help is deeply appreciated.
ok. Then Use a background thread to do this when you are in previous activity. Or one solution may be that you load the Url in next activity, as first time it will take time to load but next time it will be cached. Set few properties of the web view as:
and
Hope this help your cause.