Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Android cache manifest problem

felipehaack
Level 2
Level 2

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.

1 Accepted Solution
Neil_Enns_-_Ado
Correct answer by
Employee
Employee

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

View solution in original post

0 Replies
Neil_Enns_-_Ado
Employee
Employee

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

Neil_Enns_-_Ado
Employee
Employee

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

felipehaack
Level 2
Level 2

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.

felipehaack
Level 2
Level 2

Of course, I'll send to you as soon as possible. Thanks so much.

Neil_Enns_-_Ado
Employee
Employee

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

Neil_Enns_-_Ado
Correct answer by
Employee
Employee

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

View solution in original post