简体   繁体   中英

How to open pdf file with in our app android+phonegap+JQM?

I am developing an web+cross platform app using Jquery Mobile+PhoneGap+Android. In web app, I am able to open pdf file links within my app page using iframe. But, in Phonegap generated Android build, iframe is unable to render pdf content,it is showing that iframe area as empty.How can I display the pdf file/content, whose src I know at runtime, within android webview. Thanks In Advance.

I've just published my plugin, which can open almost any type of file, which is stored locally on Android device.

Please take a look at: https://github.com/markeeftb/FileOpener

Plugin opens external application which handles the preview of the document.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM