Working with Files in PhoneGap Applications

Description

The PhoneGap File System Action Javascript makes it easy to work with files stored in the file system of a mobile device. In addition to Action Javascript, there are methods available for working with the device's file system using Javascript in PhoneGap applications.

Name
Description
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 Upload Action Javascript

The PhoneGap File Upload Action Javascript allows you to upload one or more files in a PhoneGap application from the file system on the mobile device to either the Alpha Anywhere server, or to Amazon S3.

PhoneGap File Download Action Javascript

The PhoneGap File Download Action Javascript allows you to download one or more files from a remote server (e.g. Amazon S3, the Alpha Anywhere server, or some other server) and store those files in a folder on your mobile device.

PhoneGap - File System Actions Action Javascript

The PhoneGap - File System Actions Action Javascript allows you to perform actions on the file system of the mobile device in your PhoneGap application.

PhoneGap File System Actions - (File URI Based) Action Javascript

The PhoneGap File System Actions - (File URI Based) Action Javascript allows you to perform an action on a mobile device's file system in a PhoneGap application. The directory in which the file system action is performed is specified using a file URI.

PhoneGap File System Methods

Javascript methods available in a PhoneGap application for working with the file system on a mobile device.

Modifying the Default PhoneGap Location For Persistent Files

The Persistent File Location property is set to "Internal" for Android and "Library" for iOS.