Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Titanium.Filesystem.File documentation missing

Titanium.Filesystem.File doesn't seem to have a page.

Lack of proper documentation is really killing me here!

Also note that this is not in the Kitchen Sink application.

I need to grab a directory and list all files in it as an array of names.

— asked June 3rd 2010 by Joshua Kehn
  • documentation
  • file
  • filesystem
  • link
  • missing
  • titanium

2 Answers

  • Hi,

    There's a demo in KS : see Platform > Filesystem

    And the Javascript files in KitchenSink/Resources/examples/filesystem.js


    .. where's you'll see the directory listing example.

    [nb: bear in mind that you can't do this on all directories on the device, as most are 'protected' by Apple. But it works fine on directories within your application]

    — answered June 3rd 2010 by Kosso
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.