FileOpener icon indicating copy to clipboard operation
FileOpener copied to clipboard

Open files using emulator?

Open lhoezee opened this issue 11 years ago • 4 comments

Hello, I'm not sure if this is an "issue", more of a question. Should I be able to open files with this plugin with an emulator? Currently, I'm not getting any errors, however nothing happens after calling :

window.plugins.fileOpener.open(filePath);

Also, I know I'm getting into here when I alert as well:

FileOpener.prototype.open = function(url) {
    cordova.exec(null, null, "FileOpener", "openFile", [url]);
};

lhoezee avatar Apr 15 '13 03:04 lhoezee

Have you got the solution?? I am also having same problem. My PDF is not opening. I m also using emulator.

Anj1ana avatar May 30 '14 06:05 Anj1ana

I don't believe so. I think I used another plugin or created my own. Honestly I can not even remember what project I was using this on. I attempted to grep all my projects for "fileOpener" and I'm not finding anything which tells me I tried a completely different solution. Sorry.

lhoezee avatar May 30 '14 11:05 lhoezee

Okay.. np

Anj1ana avatar May 30 '14 11:05 Anj1ana

How I can open a PDF that is in my www folder?

JaviDTM avatar Jun 06 '16 18:06 JaviDTM