Titanium.Filesystem.File documentation missing

You must Login before you can answer or comment on any questions.

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.

2 Answers

Hi,

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

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

http://github.com/appcelerator/titanium_mobile/blob/master/demos/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]

Your Answer

Think you can help? Login to answer this question!