Frameworks
React Native
Flutter
Package samples
Cookbook
Version 11
Version 10
Version 9
Version 8
Version 7
Version 6
Version 5
Welcome to Apryse. This guide will help you integrate a free trial of Apryse Android SDK into your Android Studio projects. You can either integrate Apryse packages automatically using Gradle, or install them manually using .aar files by downloading the SDK. Pick whichever your option you prefer, but integrating with Gradle is the recommended approach. Your free trial includes unlimited trial usage and support from solution engineers.
android.useAndroidX=true
and android.enableJetifier=true
in your gradle.properties
file. For more, check out our FAQ about AndroidX.The trial of Apryse Mobile SDK does not require a trial key. A commercial license key is required for use in a production environment. Please contact sales to purchase a commercial key or if you need any other license key assistance.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).
Create a new project on Android Studio called myApp
.
For the purposes of this guide, you can start with an Empty Activity
.
settings.gradle
file located in your project's root directory and add the Apryse Maven repository:Apryse SDK for Android is hosted on a private Maven repository in Amazon S3, so an access token is required to download it. The project only communicates with Amazon S3 in order to download Apryse SDK for Android. Otherwise, no other communication between your environment and Amazon S3 (or any other external service) is required. If you prefer not to use Amazon S3, you can find an alternative approach here .
build.gradle
file in your app module's directory:Edit it to add a dependency for the full version of Apryse:The next part of this guide will use DocumentActivity to open and view a document which requires the full version of Apryse SDK. The standard version has lighter set of features to reduce the size of the APK.You can find out more about the differences between the two versions here . If you would like to use the standard version instead, please take a look at this guide
gradle.properties
file. Copy the following line to it:AndroidManifest.xml
file and add a <metadata>
tag inside the <application>
tag to be a placeholder for the license key:android.useAndroidX=true
and android.enableJetifier=true
in your gradle.properties
file. For more, check out adding Apryse using AndroidX.Download the SDK
The trial of Apryse Mobile SDK does not require a trial key. A commercial license key is required for use in a production environment. Please contact sales to purchase a commercial key or if you need any other license key assistance.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).
PDFNetAndroid
library bundle is called PDFTRON_BASEmyApp
. Find the path to the app/libs
folder. If the libs
folder does not exist, create one in the module (for example, myApp/app/libs
)For the purposes of this guide, you can start with an Empty Activity
.libs
directory:You can learn more at Apryse Android viewer.Now, your app/libs
folder should look like this:PDFTRON_BASE/lib/full/pdftron.aar
PDFTRON_BASE/lib/tools.aar
build.gradle
file in your app module's directory:Edit it to include the following inside the android.defaultConfig
section:Also edit the dependencies section
and include:gradle.properties
file. Copy the following line to it:AndroidManifest.xml
file and add a <metadata>
tag inside the <application>
tag to be a placeholder for the license key:Download the SDK
Apryse for Android contains the following key files and folders:
File/Folder Name | Description |
---|---|
docs | Contains the Apryse Android API reference documentation |
lib | Contains the Apryse AAR libraries and the source files to the open-source UI |
samples | Contains the Java and Kotlin sample projects: Showcase , CompleteReader , and MiscellaneousSamples |
legal.txt | Legal and copyright information |
license.pdf | Apryse Software License agreement |
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales