Android PDF Viewer library

thomaus picture thomaus · Jun 28, 2012 · Viewed 37.3k times · Source

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.

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.

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.

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

Thanks in advance.

Answer

Smart Apps Network picture Smart Apps Network · Oct 24, 2013

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

which just accepts pdf path.