when ever I try to use Filesystem to Retrieve DirectoryListings it does not work.
I already have the Path in which the directory is located i just want an array to return the list of files
this is for mobile or desktop?
if for mobile :
var dir = Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory+'/files'); var files = dir.getDirectoryListing();