Android cache manifest problem | Community
Skip to main content
felipehaack
Level 2
August 12, 2015
Solved

Android cache manifest problem

  • August 12, 2015
  • 6 replies
  • 2124 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Neil_Enns_-_Ado

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

6 replies

Neil_Enns_-_Ado
Adobe Employee
Adobe Employee
August 12, 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

Neil_Enns_-_Ado
Adobe Employee
Adobe Employee
August 12, 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

felipehaack
Level 2
August 12, 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.

felipehaack
Level 2
August 12, 2015

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

Neil_Enns_-_Ado
Adobe Employee
Adobe Employee
August 12, 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

Neil_Enns_-_Ado
Adobe Employee
Neil_Enns_-_AdoAdobe EmployeeAccepted solution
Adobe Employee
August 20, 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