I’ve been working on a PhoneGap app for IOS and Android. I’m now migrating it to Windows 8 and having problems creating and accessing a directory with the following error: Error getting Download/MyNewDirectory directory: ,File Quota Exceeded Error.
The file system is retrieved without issue and running FileSystem.root.fullPath gives me: "C:\Users\me\AppData\Local\Packages\84d4fe3a-8719-4d22-9bfd-a0ae9d5c624d_0rbfcm4j9s1vw\LocalState". I tried manually adding ‘Download/MyNewDirectory’ to that \LocalState directory but still get the same error when trying to access them in the code with, fileSystem.root.getDirectory("Download/MyNewDirectory", {
create: true,
exclusive: false
}, function (directory) {...
Does PhoneGap’s File API work with Windows 8? I would rather not have to rewrite or shim the file access parts of the app.
EDIT:
Windows 8 is not listed as a supported platform for File.
Check out article series “Windows 8 apps for the PhoneGap developer”.
This particular article covers file access.
http://css.dzone.com/articles/windows-8-apps-phonegap-0