FileOpener icon indicating copy to clipboard operation
FileOpener copied to clipboard

dynamic download and open

Open kegita opened this issue 10 years ago • 0 comments

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

kegita avatar Sep 04 '14 10:09 kegita