Some test text!

Search
Hamburger Icon

Xamarin / Guides

Step 1: Integrate Apryse SDK for Xamarin.Android

Welcome to Apryse. This guide will show you how to integrate a free trial of the Apryse Xamarin SDK into your Xamarin.Android application. You can either integrate the Apryse 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

Prerequisites

  • Minimum: API 16 (Using Android Support Libraries)
  • Recommended target: API 34
  • Latest version of Visual Studio
No trial license key required.
The trial of Apryse SDK does not require a trial key. A commercial license key is required for use in a production environment. Please fill out our contact form if you do not have a valid license key.
Keep your license keys confidential.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).

First, download the SDK:

Download

Download the SDK

Download the SDK

Integrate

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 Apryse package:

    Install-Package path_to_package\PDFTron.Android.11.0.0.nupkg
    Install-Package path_to_package\PDFTron.Android.Tools.11.0.0.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. Lastly, turn on Multi-Dex:

    Multi-Dex

Next step

View a document Add an Apryse license key

SDK overview

Apryse for Xamarin contains the following key files and folders:

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

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales