JavaScript
A5.shell.getAppFileStorageDir Method
Syntax
localDir = A5.shell.getAPpFileStorageDir();
Returns
- localDirString
Returns the file URL of the local directory where the App's data files are stored.
Description
Gets the directory where the files for the application are stored.
Discussion
The getAppFileStorageDir() method returns the directory on the device's file system where the data files for the App are stored. The directory is separate from other Apps on the device.
Example
if (A5.shell) { var localDir = A5.shell.getAppFileStorageDir(); alert(localDir); }