I'm using Phonegap with jQuery Mobile and have the following use-case:
- I want to download a file from a remote server via JSON.
- Store the file on local filesystem of the mobile device (to work also offline).
- Target platforms: iOS, Android, maybe Windows Phone and BlackBerry.
- Load file from filesystem.
What's the recommended way to do that?
- Phonegap.FileWriter? Is there also a way to save it to "assets/www../"?
- Phonegap.Storage?
Or is there any better way?