Phonegap - jQuery Mobile - Upload / Save / Upload File
I am using Phonegap with jQuery Mobile and have the following use case:
- I want to download a file from a remote server via JSON.
- Save the file to the local file system of the mobile device (to work also offline).
- Target platforms: iOS, Android, possibly Windows Phone and BlackBerry.
- Load the file from the file system.
What's the recommended way to do this?
- Phonegap.FileWriter? Is there a way to save it to "assets / www ../"?
- Phonegap.Storage?
Or is there a better way?
+3
source to share