Ryodo
Ryodo

Reputation: 455

Using the cache android

I implemented an application that are fed from an XML stream. The XML feed changes every once daily.

I want to know if I can meter the xml file caching for one day for each round has not questioned the service that provided the xml But every day at midnight I want it retrieves the new version of XML

cordially

Upvotes: 2

Views: 116

Answers (2)

Abdel
Abdel

Reputation: 1095

use the xml file in the sdcard

Upvotes: 2

Iulia Barbu
Iulia Barbu

Reputation: 1530

You can save the xml on card and replace it every 24 hours (use filelastModified() to get last time the file was modified)

Upvotes: 1

Related Questions