Working with Files in PhoneGap Applications
- Downloading Files to a Mobile Device
This topic discusses two different techniques for downloading files (such as PDF, Video, Audio, Excel, Image files) to a mobile device so that the files are stored in the filesystem on the device and can be viewer later on (presumably when the device no longer has an internet connection) using the Native app associated with the particular file type.
- PhoneGap File System Methods
- Modifying the Default PhoneGap Location For Persistent Files
The Persistent File Location property is set to "Internal" for Android and "Library" for iOS.
- On-Device-Data Genie
When you build PhoneGap or TransForm applications, you may want to store data (SQLite databases, images, movies, audio files, PDF files, etc.) on the mobile device so that the files can be accessed when there is no internet connection. The On-Device-Data Builder can be used to generate the manifest that defines the data to download to the device.