PDFTron Android Samples
This repository contains sample projects using different features of the PDFTron Android SDK. The guides for each sample can be found in the PDFTron Android documentation.
Integration samples
Sample | Description |
---|---|
StandardPDFViewer | Standard gradle integration as described in this guide |
PDFViewCtrlViewer | Viewer integration using PDFViewCtrl and AnnotationToolbar |
QuickStartPDFViewer | Quick start viewer integration using Gradle as described in this guide |
NativeCPPExample | Native C++ PDFTron library on Android |
Customization samples
Sample | Description |
---|---|
CustomStickyNote | Customize sticky note icons as described in this guide |
CustomUI | Various samples to customize the UI of PdfViewCtrlTabHostFragment which includes samples for: modifying the quick menu, modifying the annotation toolbar, modifying the options toolbar, and adding custom views to the viewer. |
CustomToolSample | Create a custom tool as described in this guide |
Signing samples
Sample | Description |
---|---|
SigningSample | Customize the viewer UI to assign signing fields to a user, sign a document and send the document to a Firebase server |
Collaboration samples
Sample | Description |
---|---|
CollabWebSocketSample | Create a real-time document collaboration app with Node.js + SQLite3 + WebSocket |
CollabFirebaseSample | Create a real-time document collaboration app as described in this blog and customize as described in this blog |
Feature samples
Sample | Description |
---|---|
DemoHTML2PDF | HTML to PDF conversion as described in this guide |
CADViewer | CAD to PDF conversion using WebViewer Server in this guide |
Running the samples
-
Import one of the sample projects into Android Studio
-
Run the project in Android Studio
Contributing
See Contributing
License
See License