function onDeviceReady() {
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, gotFS, fail);
}
function gotFS(fileSystem) {
fileSystem.root.getFile("readme.txt", {create: true, exclusive: false}, gotFileEntry, fail);
}
我不明白的是如何文件系统获得通过时,有没有用在requestFileSystem gotFS传递的参数?
TA火箭我编辑代码相同 – 2012-04-23 19:17:44
我是一个编辑忍者:-P – 2012-04-23 19:18:51