Skip to content Skip to sidebar Skip to footer

Html5 Cache Problems With Android Webview

Hello I tried to cache my web application with my android device. I tried everything but nothing will work. The Cache will not refresh only on android devices and not on other devi

Solution 1:

web.getSettings().setAppCachePath() set's the local directory where to store the cached files not where to load the manifest from.

The manifest has to be referenced in the HTML file you want to cache:

<htmlmanifest="cache.manifest">

What do you mean with: "Cache will not refresh only on android devices and not on other devices!" The cached files only will be updated if the content of the manifest has changed. http://appcachefacts.info/http://jonathanstark.com/blog/2009/09/27/debugging-html-5-offline-application-cache/http://dev.opera.com/articles/view/offline-applications-html5-appcache/

Post a Comment for "Html5 Cache Problems With Android Webview"