blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 19 forks source link

As a WebWorks developer, I can read, write, and navigate file system hierarchies from my application at runtime. #113

Closed kwallis closed 12 years ago

kwallis commented 12 years ago

File API to allow navigation of the file system, read and write of files. This should match as closely as possible the Cordova file API.

Acceptance Criteria

  1. Overall strategy is to use the Cordova File API signatures
  2. Use "blackberry.io" as the feature id/namespace
  3. Limit to the host devices file system
  4. Allow listing of directories on the filesystem
  5. Allow listing of all files in a given directory
  6. Ability to create a new directory or file
  7. Ability to delete an existing directory and its sub-hierarchy
  8. Ability to delete an existing file
  9. Ability to read the contents of a file
  10. Ability to write to a file, optionally creating the file if it does not exist
  11. Ability to move a directory or file (this will allow rename as a usecase as well)
  12. Ability to copy a file
  13. Ability to get metadata information about a directory or file (need to understand what metadata is exposed by the system)
  14. Able to get a listing of the contents of a directory
kwallis commented 12 years ago

Tracking on the API repo