Android cache manifest problem

felipehaack

12-08-2015

Hello there,

I create an application with HTML5 using cache manifest file. All files was cached fine (good), but, I can't know when the cache is finally done because your status stay the same (zero) and the event doesn't fire. The same problem happen with DPS, and there's discussion with no solution to it (even now, the currently adobe content viewer stay with this bug).

Do you know when It'll be to fixed?

An example: https://gist.github.com/felipehaack/c858e416e7187763739d

Thanks so much.

Accepted Solutions (1)

Accepted Solutions (1)

Neil_Enns_-_Ado

Employee

20-08-2015

To close the loop on this, the change to enable this API on Android in DPS 2015 is done and will be available in the release that goes out roughly four weeks from now.

Neil

Answers (5)

Answers (5)

Neil_Enns_-_Ado

Employee

12-08-2015

We already have database and DOM storage enabled, looks like we’re just missing the app cache stuff. If you send me a .article file that’ll help. Thanks!

Neil

felipehaack

12-08-2015

Thanks for you replay.

About it, I faced the same problem with an android application and I enable it using the follow code:

WebSettings settings = webView.getSettings();


settings.setDatabaseEnabled(true);

settings.setDomStorageEnabled(true);

settings.setAppCachePath("/data/data/"+ webView.getContext().getPackageName() +"/cache"); //your application path /cache folder

settings.setAppCacheEnabled(true);

I hope it help you guys.

Neil_Enns_-_Ado

Employee

12-08-2015

One additional question: can you share a .article file with me that you've written that uses the applicationcache APIs? Put the .article file on CC, DropBox, or similar, and then send me a private message with a link to it. Thanks!

Neil

Neil_Enns_-_Ado

Employee

12-08-2015

Hi,

We don't currently support window.applicationcache on Android. I'll mention it to the team and see if it's something we can address in a future release.

Neil