How to create subfolder inside app directory (not root) on android device with cordova -


i have created subfolders in app folder in root (which not visible), want create subfolders visible app directory (that folder can see when enter in file explorer). have donde following in on device ready event:

 window.requestfilesystem(localfilesystem.persistent, 0, create_subfolder, function(){alert('error');}); 

the create_subfolder function is:

 function create_subfolder(filesystem) { var entry = filesystem.root; //is possible specify here location? entry.getdirectory(     "audios",     {create: true, exclusive: false},     function(){},     function(){alert('error');} ); 

}


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

php - How to display all orders for a single product showing the most recent first? Woocommerce -