Found the culprit ,
Turn out that getDirectory will throw error if
The immediate parent folder does not exist.
This explains why all those code snippet of getDirectory with one directpry and
Straight fromthe filesystem always works.
But the next question is:
I was doing :
DirectoryEntry.getDirectory("Android/data/[mypackagename/desiredfolder',
{create: true, exclusive: false}, succCallback, failCallBack);
How can the parent folder does not exist as that is my package installaiin folder?
Regards,
Nahwin R
Sent from my iPhone