Hello!
Working on it.
Hello!
Working on it.
Hello!
Try to specify full path to the file http://cordova.apache.org/docs/en/3.0... or add PhoneGap plugin which helps to open PDF in appropriate program.
Hi Maryna,
Think you misread the question.
It is a local file, so the path won't be http://cordova.apache.org/...
Which PhoneGap Plugin are you referring to?
Hello Rolf,
1)We've understood that this is the local file. Please follow the link and look how to get the full path to file.
2)Please try to look for a plugin.
Hi,
working on the same project as Rolf we still didn't manage to get this working.
In iOS this works: window.open(localpdf, 'blank', 'EnableViewPortScale=yes');
in the Appery tester app on android this works: window.open(localpdf, 'system');
But native in android we can't get it to work.
Nothing happens when the onclick is launched. When I add file:/// to the localpdf filepath the pdf reader is launched, but the file can't found. I tried changing android permissions, but that did not help either. It seems I need the full path to the file, but I can't get hold of it.
I like to try your solution of adding a phonegap plugin, but please refer to a manual on how to achieve this. Other solutions are welcome as well.
Thanks in advance.
Hello,
Please look for information you need here:
https://getsatisfaction.com/apperyio/...
still not working.
window.plugins.childBrowser is undefined
Hello!
Sorry for a late reply! As I can see from this post https://getsatisfaction.com/apperyio/... you managed to resolve this issue. Do you need further help?
I didn't work (window.plugins.childBrowser is undefined) but I got fed up with it and included the information as text in a page instead of a pdf.
Hi Sjef,
Thanks for your update.
Regards.