I'm looking for a fast PDF library, even commercial is okay.
Problem of opensource java PDF renderers that they are based on awt/swing which is not available on Android, so this need to be adopted to Android GUI model.
Best for now I found and checked: https://pdf-renderer.dev.java.net/ (not so old, not so huge, working on example PDFs).
Another is vuDroid PDF implementation, but its painfully slow so its out of option.
Thanks!
Here is the list of the other open sources PDF readers running on the top of the Android
Note that all of these are bound by the terms of GPL and may not be suitable for the commerical use [5].
The following is a list of SDKs suitable for commercial use:
[1] http://code.google.com/p/apv/Me also faced this like a problem. My condition is very specific. I need to display a some pdf file in my application which was downloaded from server. But after download my client need to read it really fast. They didn't allow even to poss a second for rendering. So what i did is
Bitmap.compress
function.My client is well satisfied with this. Hope some times this may help you.
[1] http://sourceforge.net/projects/andpdf/developIText is not a viewer so a port of Itext will not work for you.
Qoppa Software has just released a PDF library for Android (ported from Java) which supports viewing, annotating and manipulating PDF documents. According to reviews, the renderer is fast to open and to zoom into PDF documents.
I'm not sure if you're looking for a Java only solution, but Foxit provide an Embedded PDF SDK [1] for mobile devices written in C++. You could use this with the NDK which should give you the performance you need. Not sure how much it costs though.
[1] http://www.foxitsoftware.com/pdf/sdk/embedded/iText was recently ported to Android by the original author, Bruno Lowagie:
From the 5.1.0 release notes:
The most important jars are those with the binaries: itextpdf-5.1.0.jar and itext-xtra-5.1.0.jar. Note that we've split iText in two parts: the core library and extra functionality. In the future, we'll provide even more different modules. Why? Because we're also working on an Android version of iText. Currently, the Android version is trimmed down to an "iText light" version (no encryption, no parsing,...). We'd like to be able to offer iText as a combination of different modules in the future. For instance: if you don't need PDF 2 functionality, then you don't need to ship the itext-xtra.jar with your application. [If you want to know more about getting the Android version and using it in a commercial app, please contact our sales department [1]]
It's not a full port (yet... crypto, no parser package for content parsing), but is available, and your dollars will no doubt help to direct which features might be added next.
PS: Others have taken it on themselves to port iText to Android for their own use... this generally involved ripping out everything they weren't using and porting the rest: one-offs, not suitable for general use.
[1] http://itextpdf.com/terms-of-use/Android PDF Viewer (APV) 3.0 [1] is very fast. Faster then Official Adobe Reader for Android. I use Nexus S.
[1] http://code.google.com/p/apv/downloads/detail?name=apv-0.3.1dev5.tar.gz&can=2&q=MuPDF [1] by the fine folks of Artifex (the company which pays the Ghostscript developers).
Written in C. Simple, fast, lightweight PDF renderer specifically designed to also run on mobile devices. Core rendering engine inside the better known Windows PDF viewer SumatraPDF [2]. {And SumatraPDF IS fast (on Windows). It's current development version (which I compiled myself) just recently gained a few features which will make me finally drop Foxit, Adobereader and Primo/NitroPDF on my WinXP-Netbook.}
[1] http://mupdf.com/I have read the source code of some open source Android PDF viewers:
They have a Java UI, which calls the
mupdf
[1] C library via JNI
like this
[2].
I use and love PDFViewer SDK from Radaee which is sold and supported here: http://www.androidpdf.mobi. Fast and customizable.
You might want to try www.slgmobile.com they have native android rendering software. Not sure if they license the render.
You could try this one http://andpdf.sourceforge.net/ or http://code.google.com/p/nookdevs/downloads/detail?name=apdfViewer.apk&can=2&q= [1]
[1] http://code.google.com/p/nookdevs/downloads/detail?name=apdfViewer.apk&can=2&q=
java.awt.image.BufferedImage
which is not supported on Android. Voting to reopen based on the accepted answer here being comprehensive. - Brian Roach