cordova-android/framework/src/com/phonegap
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
..
api File API: System and Directories 2011-03-05 04:26:31 +08:00
file File API: System and Directories 2011-03-05 04:26:31 +08:00
AccelListener.java Introduce PhonegapActivity class to separate plugin development from base Phonegap. 2010-11-06 03:10:28 +08:00
App.java Worked around JavaScript bridge exception for Android 2.3. Use "prompt" instead of calling objects directly. There were several objects called from JavaScript, including BrowserKey, so key events had to be reworked. 2011-02-27 20:07:24 -06:00
AudioHandler.java Remove destroyed AudioPlayer from list of AudioPlayers 2010-12-23 02:51:39 +08:00
AudioPlayer.java Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008). 2010-10-18 15:31:16 -05:00
CallbackServer.java Worked around JavaScript bridge exception for Android 2.3. Use "prompt" instead of calling objects directly. There were several objects called from JavaScript, including BrowserKey, so key events had to be reworked. 2011-02-27 20:07:24 -06:00
CameraLauncher.java Better memory management when taking pictures. 2011-01-06 11:12:14 -06:00
CompassListener.java Introduce PhonegapActivity class to separate plugin development from base Phonegap. 2010-11-06 03:10:28 +08:00
ContactAccessor.java Enable the return of photos in a Contact object 2011-01-20 04:27:40 +08:00
ContactAccessorSdk3_4.java Updating to latest W3C spec 2011-01-27 03:41:27 +08:00
ContactAccessorSdk5.java Set type to url for returned photos 2011-01-29 04:19:06 +08:00
ContactManager.java Fixing bug found by tiny hippos 2011-01-25 03:05:59 +08:00
CryptoHandler.java Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008). 2010-10-18 15:31:16 -05:00
Device.java Upping version to 0.9.4 2011-02-03 09:48:31 +08:00
DirectoryManager.java File API: System and Directories 2011-03-05 04:26:31 +08:00
DroidGap.java Worked around JavaScript bridge exception for Android 2.3. Use "prompt" instead of calling objects directly. There were several objects called from JavaScript, including BrowserKey, so key events had to be reworked. 2011-02-27 20:07:24 -06:00
FileTransfer.java Adding debug mode so FileTransfer will accept self signed SSL certificates 2011-01-12 10:32:26 +08:00
FileUploadResult.java Adding File Upload functionality 2011-01-06 07:09:07 +08:00
FileUtils.java File API: System and Directories 2011-03-05 04:26:31 +08:00
GeoBroker.java Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008). 2010-10-18 15:31:16 -05:00
GeoListener.java Fixing geo listner callback fail to send 3 args instead of 4. 2011-01-14 02:07:47 +08:00
GpsListener.java Introduce PhonegapActivity class to separate plugin development from base Phonegap. 2010-11-06 03:10:28 +08:00
HttpHandler.java Remove unneeded debug log statements. 2010-10-28 16:28:24 -05:00
NetworkListener.java Introduce PhonegapActivity class to separate plugin development from base Phonegap. 2010-11-06 03:10:28 +08:00
NetworkManager.java Introduce PhonegapActivity class to separate plugin development from base Phonegap. 2010-11-06 03:10:28 +08:00
Notification.java Introduce PhonegapActivity class to separate plugin development from base Phonegap. 2010-11-06 03:10:28 +08:00
SimpleCrypto.java Adding Built-In Crypto Library 2010-02-24 16:18:35 -08:00
StandAlone.java Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008). 2010-10-18 15:31:16 -05:00
Storage.java Move data transfer for storage to completeQuery for speed up 2010-11-06 20:01:22 +00:00
TempListener.java Introduce PhonegapActivity class to separate plugin development from base Phonegap. 2010-11-06 03:10:28 +08:00
WebViewReflect.java Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008). 2010-10-18 15:31:16 -05:00