Can I access SD Card on a mobile device using the API? What other means of storage are possible?
Thanks
1 Answer
// Dump file listing on SD Card if (Ti.Platform.name == 'android') { var dir = Titanium.Filesystem.getFile(Titanium.Filesystem.externalStorageDirectory); Ti.API.info('external directoryListing = ' + dir.getParent().getDirectoryListing()); }
If you look at the file 'examples/filesystem.js' there are many examples of using the file system.
Your Answer
Think you can help? Login to answer this question!