Some test text!

menu
search

Step 1: Integrate PDFTron SDK for Xamarin.Android

Welcome to PDFTron. This guide will show you how to integrate a free trial of the PDFTron Xamarin SDK into your Xamarin.Android application. You can either integrate the PDFTron packages automatically through the Nuget manager, or install them manually by downloading the SDK. Pick whichever option you prefer, but integrating with Nuget is the recommended approach. Your free trial includes unlimited trial usage and support from solution engineers.

Manual Integration

linkPrerequisites

  • Minimum: API 16 (Using Android Support Libraries)
  • Recommended target: API 28
  • Latest version of Visual Studio

First, download the SDK:

linkDownload

Download Xamarin.iOS.zip

linkIntegrate

If you do not already have an existing application, create a new Visual Studio Xamarin.Android project with Single View App.

  1. Open the NuGet package manager console:

NuGet console

  1. Install the PDFTron package:

    Install-Package path_to_package\PDFTron.Android.7.0.1.nupkg
    Install-Package path_to_package\PDFTron.Android.Tools.7.0.1.nupkg
    Replace path_to_package with the actual path. The required packages should be in lib/android
    Please note all of the required dependencies will also be installed.
  2. To use SimpleReaderActivity and/or AdvancedReaderActivity, also install:

    Install-Package path_to_package\PDFTron.Android.Demo.7.0.1.nupkg
    Replace path_to_package with the actual path. The required packages should be in lib/android
  3. Lastly, turn on Multi-Dex:

    Multi-Dex

linkNext step

View a documentAdd a PDFTron license key

linkSDK overview

PDFTron for Xamarin contains the following key files and folders:

File/Folder NameDescription
CommonFolder containing PDFTron Xamarin source code
custom (Xamarin.iOS package only)Folder containing helper project to build PDFNetHelper.framework
libFolder containing the PDFTron NuGet packages and the source files to the binding projects
projectSrcFolder containing Visual Studio solution files for PDFTron Xamarin source code
samplesFolder containing the sample projects CompleteReader, PDFViewCtrl UI and MiscellaneousSamples
legal.txtLegal and copyright information
LicenseLink to PDFTron Software License agreement

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close