Create A File Browser

try this in getEntriesAtRoot
//Find persistent storage path
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fileSystem){
persistentFilePath = fileSystem.root.toURL();
}, function(){
alert(“No access to read persistent storage path”);
});

it’s just to work around, not the solution.