访问chrome sandbox文件系统

时间:2014-11-22 05:46:26

标签: google-chrome-app

有没有办法使用chrome.filesystem将文件保存到chrome app sandopx文件系统?如何使用chrome.filesystem获取chrome sand box文件系统?

1 个答案:

答案 0 :(得分:0)

Chrome应用程序以与普通网页相同的方式访问沙箱文件系统,因此您根本不需要使用chrome.fileSystem。 chrome.fileSystem仅用于访问沙箱之外的文件。

有关沙盒文件系统入门的信息,请参阅http://www.html5rocks.com/en/tutorials/file/filesystem/。您需要做的一件Chrome App特定事情就是将unlimitedStorage权限添加到您的应用中。