cordova-android/framework
macdonst 0c3a8fb9f7 File API: System and Directories
http://www.w3.org/TR/file-system-api/

User can retrieve PERSISTENT and TEMPORARY file systems, list their
contents, and manipulate files and directories within them.

Modify existing FileWriter implementation
-----------------------------------------

  - Change the way user creates a FileWriter.  User must either pass a
    File object to the FileWriter constructor, or use the
    FileEntry.createWriter() method.

  - Drop support for the 'filePath' and 'append' parameters in the
    FileWriter constructor.  The file path is determined from either the
    File object passed to the FileWriter constructor, or the FileEntry
    object used to create the FileWriter.  To append to a file, use the
    FileWriter object's seek method:

    // writer is a FileWriter object
    // seek to length of file to append
    writer.seek(writer.length);

Replace FileMgr JavaScript APIs not specified in any File API spec
------------------------------------------------------------------

  - Remove navigator.fileMgr.createDirectory(dirName) function.  To
    create a directory, use the DirectoryEntry.getDirectory() method,
    which is part of the File API: Directories and System spec.  Set
    the Flags.create to 'true':

    // directory is a DirectoryEntry object
    directory.getDirectory(path, {create:true}, successCB, failCB);

  - Remove navigator.fileMgr.getRootPaths() function.  To retrieve the
    root file systems, use the window.requestFileSystem() function,
    which is part of the File API: Directories and System spec.

  - Remove navigator.fileMgr.getFileProperties(fileName) function.  To
    get the properties of a file, use the FileEntry.file() method, which
    is part of the File API: Directories and System spec.

  - Remove navigator.fileMgr.deleteFile(fileName) function.  To delete a
    file, use the Entry.remove() method, which is part of the File API:
    Directories and System spec.

  - Remove navigator.fileMgr.deleteDirectory(dirName) function.  To
    delete a directory, use the Entry.remove() (if it is empty), or
    DirectoryEntry.removeRecursively() methods, which are part of the
    File API: Directories and System spec.

Clean up existing FileManager native code.  Move some functionality to
file utility class.
2011-03-05 04:26:31 +08:00
..
assets File API: System and Directories 2011-03-05 04:26:31 +08:00
gen/com/phonegap refactored the Command stuff a bit more, added a spashscreen 2010-08-24 18:58:16 -07:00
libs Initial Move of the Javascript OUT of the shared directory: Android 2009-11-17 10:38:49 -08:00
res refactored the Command stuff a bit more, added a spashscreen 2010-08-24 18:58:16 -07:00
src/com/phonegap File API: System and Directories 2011-03-05 04:26:31 +08:00
.classpath Initial Move of the Javascript OUT of the shared directory: Android 2009-11-17 10:38:49 -08:00
.project Initial Move of the Javascript OUT of the shared directory: Android 2009-11-17 10:38:49 -08:00
AndroidManifest.xml Changed to use the Camera Intents to our own peril. 2010-06-04 14:54:16 -07:00
build.xml Upping version to 0.9.4 2011-02-03 09:48:31 +08:00
default.properties Updating to 2.2 2010-05-31 10:59:44 -07:00