I'm wondering if there's any way to change PhoneGap's fileSystem object?
I'm currently using Web Marmalade (which includes a modified PhoneGap in it) and window.requestFileSystem(LocalFileSystem.PERSISTENT...) returns "wm", rather than something like "/mnt/sdcard" on my Android phone. This causes problems because I can't write to /mnt/sdcard - there will be a security error, most probably because /mnt/sdcard is not part of the root filesystem "wm".
So I'm just wondering if there's an easy way to change this fileSystem? I tried something like:
var root = new DirectoryEntry('myroot', '/mnt/sdcard');
var fileSystem = new FileSystem('myfs', root);
But that doesn't seem to help:
alert('fileSystem.root.fullPath: ' + fileSystem.root.fullPath); //returns ""