Some test text!
PDFTron for Android ships with two sample projects, each containing sample code you can use in your project. Both samples are included in the PDFTronAndroid zip package under the
samples folder. You can run any of the sample projects via Android Studio or via command line.
If you prefer to load the sample app directly, you can download the APK here:
Before running the sample, add your PDFTron license key to the
gradle.properties file in the root folder of the sample project of interest (i.e.
First, be sure you have the latest version of Android Studio. You can download the latest version here. If you already have Android Studio, check for the latest stable version by clicking Help > Check for Updates (on Mac Android Studio > Check for Updates).
settings.gradlefile and click OK.
SimpleReaderActivity is an all-in-one document reader and PDF editor. It also supports viewing and stream convertion of other file extensions such as
.cbz, and various image formats. In this activity, you can read, annotate, sign, fill-in PDF forms, and more. See the list of features below for more detail.
AdvancedReaderActivity includes everything in
SimpleReaderActivity plus file browser functionality for local and SD card files. It includes code samples for implementing lists for recent and favorite files, using document thumbnails, merging multiple documents, and creating new documents. See the list of features below for more detail.
This app showcases the functionality of the PDFTron SDK and includes the samples found on the sample code page. You can inspect its source code to learn how to use some of the main classes and features of the SDK, or just run the sample and view the results.