Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create our own PDF viewer for Android?

Tags:

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.

What could I possibly use? Do I have to use the Android native dev kit to create my own viewer?

like image 910
user983947 Avatar asked Feb 21 '12 05:02

user983947


1 Answers

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.

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.

like image 122
userx Avatar answered Oct 24 '22 02:10

userx