在PhoneGap的Android的PDF阅读器 [英] pdf viewer in phonegap android
问题描述
我在寻找使用PhoneGap的2.0 Android版PDF查看器。我试过childbrowser插件至极制作IOS而不是在Android上。我想这<一个href=\"http://www.giovesoft.com/2011/08/download-and-open-pdf-with-phonegap.html\">http://www.giovesoft.com/2011/08/download-and-open-pdf-with-phonegap.html但没有任何工作,我得到这样的PhoneGap的错误信息未在文件中定义的,不能调用未定义的方法showPdf。
I'm looking for a pdf viewer for Android using Phonegap 2.0. I tried the childbrowser plugin wich worked on IOS but not on Android. I tried this http://www.giovesoft.com/2011/08/download-and-open-pdf-with-phonegap.html but that didn't work either, I get error messages like PhoneGap is not defined at file And Cannot call method "showPdf" of undefined.
我希望有人能帮助我。
在此先感谢!
推荐答案
您可以使用pdf.js:
you can use pdf.js :
pdf.js是HTML5技术的实验,探索构建
忠实,高效的可移植文档格式(PDF)无需渲染
本土code援助。
pdf.js is an HTML5 technology experiment that explores building a faithful and efficient Portable Document Format (PDF) renderer without native code assistance.
https://github.com/mozilla/pdf.js
这篇关于在PhoneGap的Android的PDF阅读器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!