My app need some data files deployed at server URL (i.e, http://$server:8080 /data/map.xml), this data may be updated to new version, I want to cache it to local storage of the mobile app (i.e. place it at assets/www/default/ data/map.xml).
thanks for any suggestions.
This topic has been locked.
1 reply Latest Post - 2012-05-15T14:00:23Z by SystemAdmin
Pinned topic How to cache remote resource to local storage
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
SystemAdmin 110000D4XK570 PostsACCEPTED ANSWER
Re: How to cache remote resource to local storage2012-05-15T14:00:23Z in response to SystemAdminHello Daniel.
You can't push it to assets/www/default/data/map.xml but what you can (and should) do is access the localStorage.
See phoneGap documentation at: