嵌入PDF查看器PhoneGap的应用 [英] Embed PDF Viewer for PhoneGap application

查看:89
本文介绍了嵌入PDF查看器PhoneGap的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何嵌入PDF浏览器的PhoneGap的应用程序?我已经决定使用PhoneGap的+煎茶触摸制定iOS和Android应用程序。

How can I embed a PDF viewer for a phonegap application? I have decided to use PhoneGap + Sencha Touch to develop an application for iOS and Android.

推荐答案

没有太多的文档混合的PhoneGap和ObjC,但是的这里有一些例子鳕鱼Ë,让您的PhoneGap嵌入用ObjectiveC应用中。对于PDF阅读器,你可以使用基本的像苹果的QuickLook的或UIWebView的,或更高级的像PSPDFKit。

There's not much documentation for mixing PhoneGap and ObjC, but here is some example code that lets you embed PhoneGap with an ObjectiveC-Application. For the PDF viewer, you can either use basic ones like Apple's QuickLook or UIWebView, or more advanced ones like PSPDFKit.

有关Android的,你可以只需搜索的意图能够显示PDF格式的(如Adobe的Andr​​oid版官方阅读器),或者自己集成一个完整的PDF阅读器。 有该的一个开源项目,但看起来不是很完整。或检查出 APV 或的 droidreader ,这是GPLv3的。

For Android, you could simply search for an Intent that is capable of displaying pdf (like Adobe's official Reader for Android) or integrate a full PDF viewer yourself. There's an open source project for that, but it looks not quite complete. Or check out apv, or droidreader, which is GPLv3.

这篇关于嵌入PDF查看器PhoneGap的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆