Skip to content

Instantly share code, notes, and snippets.

@shazron
Created February 9, 2012 23:33
Show Gist options
  • Select an option

  • Save shazron/1784253 to your computer and use it in GitHub Desktop.

Select an option

Save shazron/1784253 to your computer and use it in GitHub Desktop.
window.requestFileSystem test
function onDeviceReady() {
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, success, fail);
}
function success(fileSystem) {
alert("success");
}
function fail(evt) {
alert("fail");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment