• Android Solutions

    Android Solutions

    qPDF Notes, qPDF Viewer, and the qPDF Toolkit are first-in-class in reliability, performance, and usability and deliver the most advanced Android PDF technology available.

qPDF Toolkit Download Free Trial

qPDF Toolkit – Download

You can download an evaluation version of the qPDF Toolkit from our website, this version will add a watermark to the pages of PDF documents that it processes.

Release Notes

Download

To get started, download the following zip file from our website:

qpdftoolkit.zip

This file contains four items:

version_history.txt – This text file will be updated with each new version of the toolkit.

qoppapdf.jar – Include this jar as a 3rd party library for your android project by adding it to the project’s libs folder (with newer versions of the ADT plugin, it is not necessary to manually add the jar to your project’s classpath).

Note: Adding the 3rd party library may cause eclipse to crash due to out of memory exceptions. This can be fixed by modifying the vmargs in the eclipse.ini file to increase memory available to eclipse. An example of vmargs that work when using the third party jar:

-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1024m
-XX:+UseParallelGC
-XX:PermSize=256M
-XX:MaxPermSize=512M

assets folder – This folder contains assets used by the toolkit, such as fonts and icons. After extracting from the zip files, you will need to copy the files inside this folder to the assets folder in your project.

libs folder – This folder contains native Android libraries, these libraries are needed to decode certain JPEG images as well as JPEG 2000 images that are not supported by Android. The contents of the libs folder need to be copied to the libs folder in your project. If you don’t have a libs folder in your project, create one and copy the contents of this folder into it. The lib folder also contains js-14.jar, which is required for JavaScript support.

Once you have installed these files into your development environment, you should be able to start coding with the toolkit. Please refer to our Source Code Samples to see some simple source code that you can use to test that your development environment is setup correctly.

Javadoc

You can click on the following link to show the Javadoc API documentation for the toolkit:

Javadoc API

The central class for the library is called PDFDocument, it is located in the com.qoppa.android.pdfProcess package.  This class represents a PDF document and is used to create, load and manipulate PDF documents.