FileOpener
FileOpener copied to clipboard
dynamic download and open
I'm trying your plugin to open a ppt file after download. I use
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onFileSystemSuccess, onfail);
and then
fileSystem.root.getFile(completeName, {create: true, exclusive: false}
Then, i'm able to write file from byte array, but i'm not able to open the file: which path i have to use? Because if i use absolute path (file:///sdcard0/file.ppt) the plugin doesn't work, i see the message "destination file doesn't exist".
thanks