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.
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]
-
This should be fixed now. Also, Titanium.Filesystem.File is at: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Filesystem.File-object