如何创建自己的PDF阅读器为Android? [英] How to create our own PDF viewer for Android?
问题描述
我想建立一个PDF阅读器/浏览器,可以在我的Android应用程序中使用,但我不能使用谷歌文档阅读我的内容。我不能使用已经安装在我的设备中的任何PDF阅读器。它应该是在我的应用程序,不公开我在互联网上安全的内容。
I want to build a PDF reader/viewer that could be used in my Android application, but I can't use Google docs to read my content. I can't use any PDF reader already installed in my device. It should be within my app and do not expose my secure content over the Internet.
我该怎么可能用?我一定要使用Android原生开发工具包创建自己的浏览器?
What could I possibly use? Do I have to use the Android native dev kit to create my own viewer?
推荐答案
我建议你考虑 MuPDF 这已是移植在Android 的若干的 的时候不依赖Java的。 MuPDF是轻量级屏幕上的PDF渲染优化,使得它非常适合移动使用。
I'd recommend considering MuPDF which has already been ported for use on Android several times without reliance on Java. MuPDF is optimized for lightweight on-screen PDF rendering, making it perfect for mobile use.
请注意,MuPDF和所有派生项目都是不适合商业用途,你应该考虑替代方案,如果你不开发一个开源GPL项目。
Please note that MuPDF and all the derived projects are not suitable for the commercial use and you should consider alternatives if you are not developing an open source GPL project.
这篇关于如何创建自己的PDF阅读器为Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!