This question is locked. New answers and comments are not allowed.
I am trying to access the local file system and after DeviceReady I am using the code
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,
function(localFileSystem)
{
alert("access ok");
},
function(error)
{
alert(Strings.noFileStore);
}
);
which is based on the code from the file access sample.
However the error function is always invoked.
Any suggestions for what the problem could be.
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0,
function(localFileSystem)
{
alert("access ok");
},
function(error)
{
alert(Strings.noFileStore);
}
);
which is based on the code from the file access sample.
However the error function is always invoked.
Any suggestions for what the problem could be.