在Android应用程序中查看.PDF文件-是否有可用的Phonegap插件?
我正在为android设备开发phonegap应用程序。我希望在我的应用程序中查看pdf,而无需共享或电子邮件选项。只想让用户查看pdf。我知道iApp浏览器不适用于android。android是否有其他内置插件可用。?请帮帮我 我试过文件开启器和pdf视图插件。还没有帮助在Android应用程序中查看.PDF文件-是否有可用的Phonegap插件?,android,phonegap-plugins,androidpdfviewer,Android,Phonegap Plugins,Androidpdfviewer,我正在为android设备开发phonegap应用程序。我希望在我的应用程序中查看pdf,而无需共享或电子邮件选项。只想让用户查看pdf。我知道iApp浏览器不适用于android。android是否有其他内置插件可用。?请帮帮我 我试过文件开启器和pdf视图插件。还没有帮助 var options = { showButtons: 0, //0: no buttons; 1: ok button, 2: ok and cancel button cancel: "Cancel", //
var options = {
showButtons: 0, //0: no buttons; 1: ok button, 2: ok and cancel button
cancel: "Cancel", //text for cancel button
ok: "OK" //text for ok button
};
PDFViewer.showPDF(decodeURI(devicepath), options, function (result) {
});
其他
window.open(decodeURI(devicepath), '_blank', 'location=yes,EnableViewPortScale=yes');
//openPdfInFileOpener2Plugin(decodeURI(devicepath)) 您当前正在使用哪个插件?你可以从这里得到帮助,我已经把答案贴在这里了,谢谢你的回复。我正在寻找类似iOS的浏览器插件功能。我的意思是,需要打开我的本地/在线PDF文件来查看使用,而无需共享或下载选项。