Android
ComPDFKit Conversion SDK
Get Started

Introduction

 

It is easy to embed ComPDFKit PDF SDK in your Android application with a few lines of Java code. Takes just a few minutes and get started.

The following sections introduce the structure of the installation package, how to run a demo, and how to make an Android app in Java with ComPDFKit PDF SDK.

 

Requirements

 

ComPDFKit PDF SDK is supported on Android devices running API level 19 or newer and targeting the latest stable Android version 4.4 or higher. Furthermore, ComPDFKit PDF SDK requires apps to enable Java 8 language features to build.

- Android Studio 3.2 or newer (support AndroidX).

- Project specifications.

A minSdkVersion of 19 or higher.

A compileSdkVersion of 30 or higher.

A targetSdkVersion of 30 or higher.

- Android ABI(s): x86, x86_64, armeabi-v7a, arm64-v8a.

 

Android Package Structure

 

The package of ComPDFKit PDF SDK for Android includes the following files as shown as blow:

- libs - A folder containing ComPDFKit.aar, ComPDFKit-UI.aar, and ComPDFKit-Utils.aar. ComPDFKit.aar is PDF Core API. ComPDFKit-UI.aar is PDF View. ComPDFKit-Utils.aar includes UI extensions component based on the fundamental layout classes: ReaderFragment or ReaderActivity.

- PDFViewer - A folder containing Android sample projects.

- api_reference_android - API reference.

- developer_guide_android.pdf - Developer guide.

- release_notes.txt - Release information.

- legal.txt - Legal and copyright information.