Hii,
So i have the following function which works fine on the iPhone, but it dosent want to work on the Android! (On iPhone getExternalStorageDirectory() is the data directory)
var path = Titanium.Filesystem.getFile(Titanium.Filesystem.getExternalStorageDirectory(),folders.item(i).getElementsByTagName('path').item(0).text); if(!path.exists()){ path.createDirectory(); }exists() dosent run on Android! It dosent create the directory. If i remove the if statement, the directory's are created in the correct place, but it dosent want to detect if they exist! What's the problem here?
Your Answer
Think you can help? Login to answer this question!