Android的PDF浏览器库 [英] Android PDF Viewer library

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

问题描述

我知道这个问题已经被问了很多次,但目前还不清楚对我来说,如果有一个现有的和正常工作的库,本地显示的PDF文档。

I know this question has been asked many times but it's still unclear for me if there is an existing and properly working library to natively display PDF documents.

我只希望查看其内部存储我的应用程序PDF文档。打开一个新的活动是确定对我来说,我不需要一个现有的视图中显示它。我已经建了一块code发起一个活动的意图阅读我的本地PDF文件,当然,如果没有PDF查看器应用程序在设备上已经安装了,那么什么都不会发生。

I only want to view a PDF document which is stored inside my app. Opening a new Activity is ok for me, I don't need to display it inside an existing view. I've already built a piece of code to launch an activity intent for reading my local PDF file, but of course, if no PDF Viewer app is already installed on the device, then nothing happens.

我听说过APV,VuDroid,droidreader等​​,但似乎他们都是的APK,不是库,可以在我的应用程序,code中使用。

I've heard about APV, VuDroid, droidreader, etc but it seems that they all are APKs, not libraries that can be used inside my app code.

那么,有没有任何真正的Andr​​oid库来实现这一目标?

So, is there any real Android library to achieve this?

在此先感谢。

推荐答案

这一个你可以尝试在离线模式,它的工作原理 https://github.com/bitfield66/PdfViewerAndroid_Offline

This one you can try it which works in offline mode https://github.com/bitfield66/PdfViewerAndroid_Offline

刚刚接受PDF格式的路径。

which just accepts pdf path.

这篇关于Android的PDF浏览器库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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