14

Wich libraries exists to use to draw PDF files on Android?

I found PDFBox, that is a JSE Library, and want to know if somehow it can be used to draw the PDFs on Android.

I know Android converts Standard bytecodes into Dalvik Bytecodes, but how it will convert classes like BufferedImage that the framework can convert PDF Files into?

Any suggestion is helpfully, even for paid libraries.

Martin Schröder
  • 3,086
  • 3
  • 38
  • 69
Marcos Vasconcelos
  • 17,773
  • 29
  • 104
  • 165

6 Answers6

12

PDF read/writing is a big problem for Android. A quick search on Stackoverflow will reveal many developers looking for solutions. So far, the most popular solution is to use a webview and use the google docs engine to render the PDF

A second solution, which is a little less 'hacky' is to use one of these android pdf libraries

Community
  • 1
  • 1
2bard
  • 2,533
  • 1
  • 21
  • 27
9

If you are an indie developer, you can try PlugPDF. They offer their Android PDF library for free for independent developers and for personal use. http://plugpdf.com/

Disclaimer: I am the Founder & CEO at ePapyrus Inc. which runs plugpdf.com.

user3892
  • 127
  • 1
  • 4
4

RadaePDF also does offer a Android PDF rendering engine.


http://mupdf.com/ released a Android library to PDF reading & writing, it's really very good.

It's a GPL open-source project, but they do commercial licenses.

Marcos Vasconcelos
  • 17,773
  • 29
  • 104
  • 165
4

There is a relative new library http://www.androidpdf.mobi/. It has a one time licence per Android Package Name and worked ok for us, especially for the price.

Janusz
  • 176,216
  • 111
  • 293
  • 365
3

It is a bit expensive but I believe that Adobe Mobile SDK is your product (not open source though)

ianna
  • 31
  • 1
  • I already used Adobe Reader Mobile SDK (RMSDK) at one project, but it's license is a bit expensive to afford general uses on other projects. – Marcos Vasconcelos Mar 15 '12 at 17:29
2

Qoppa have some Android libraries - have you had a look at them?

mark stephens
  • 3,153
  • 14
  • 19