torrmal / cordova-simplefilemanagement

This makes file/directory creation-deletion, red/write. download very simple.
24 stars 29 forks source link

Not able to access www folder project folder using phonegap android (painlessfs plugin) #4

Closed sirajpathan closed 9 years ago

sirajpathan commented 9 years ago

I'm using below code var f = new DirManager(); f.list('', function(d) { console.log(d); });

This gives me output like this=> ["LOST.DIR", "Music", "Podcasts", "Ringtones", "Alarms", "Notifications", "Pictures", "Movies", "Download", "DCIM", "Android"]

I also tried below paths, but still I can't access www folder in my project directory. file:///storage/sdcard/ file:///android_asset/www/

torrmal commented 9 years ago

Hi Sorry, for the delay, you wont be able to access the www folder, but that is an app level contraint by cordova, perhaps by the webview itself.