How to display the contents of a PDF using pdfbox in Android

I want to use PDFboxto read and display the contents of a PDF. I can extract text from a PDF using PDFTextStripper.

My problem is, how can I display all the contents in a PDF document as it is? I want to display a PDF document as it appears in applications such as Adobe reader. Is it possible to use PDFBox in Android?

+3
source share
1 answer

You can export the PDF as images and display them. You can find an example here .

+1
source