I am working on an iPhone mobile application that downloads content from the web in the form of HTML documents with text, images and embeds HTML5 video.
I want to download these documents as they are available, and store them locally, for further offline reading. I searched a bit and found that the optimal place to store such data would be in the Documents folder. However, I really don't know how to access it using the Phonegap API.
I know how to create an XHTML file from js, but how can I read / write files from / to my application folder?
source share