Skip to content

Getting Started

Foxit PDF SDK for Android helps developers integrate powerful Foxit PDF technology into Android apps with ease. With the Foxit SDK, even developers new to PDF can build a professional PDF reader on Android in just a few lines of code.

For product capabilities, architecture details, and the feature comparison table, see Foxit PDF SDK for Mobile overview.

SDK architecture

Foxit PDF SDK for Android uses the same three-layer model as Foxit PDF SDK for Web and Foxit PDF SDK for Mobile. See the full mobile architecture description for component details and diagrams.

LayerKey classesRoleUse cases
UIExtensions (Full UI)UIExtensionsManagerFull-UI reader component (open source)Quickly build a feature-complete PDF reader with built-in toolbar, annotations, search, and other UI
PDFViewCtrl (Basic Viewer)PDFViewCtrlViewer control without UICustom UI while relying on SDK rendering, zoom, scroll, and other view capabilities
Core SDKPDFDoc, PDFPage, Renderer, etc.Low-level PDF APIsDirect PDF structure and content operations without any UI

NOTE

Foxit PDF SDK for Android, the Web SDK, and the iOS SDK are built on top of Foxit PDF SDK for Desktop/Server. Core SDK indicates low-level PDF operations that work without UI. PDFViewCtrl indicates APIs that depend on the viewer control. UIExtensions indicates features provided by the built-in UI components.

System requirements

PlatformOS requirementsCPU / architecture
AndroidAndroid 4.4+ (API Level 19+)32-bit & 64-bit ARM (armeabi-v7a / arm64-v8a)
Intel x86 / x86_64

Android development requirements:

  • Android Studio Koala | 2024.1.1
  • JDK 17
  • Gradle 8.7
  • Android Gradle Plugin (AGP) 8.5.1

Package layout

After you extract the SDK package, you will find these main directories and files:

Directory / fileDescription
docs/SDK documentation
├─ API referenceAPI reference documentation
├─ Development GuideSDK usage and integration guides
└─ Upgrade GuideVersion changes and upgrade instructions
icc_profile/ICC color profiles
libs/Core libraries and required resources
samples/Sample projects
legal.txtLegal and copyright information
release_notes.txtRelease notes
getting_started.pdfGetting started guide

libs folder

The libs directory contains the Foxit PDF SDK for Android core libraries, UI Extensions, and optional feature modules:

CategoryFiles
Core SDKFoxitRDK.aar (Java API + native .so libraries)
UI Extensionuiextensions_src (open source), FoxitRDKUIExtensions.aar
Scanningpdfscan (open source)
FoxitMobileScanningRDK.aar,FoxitPDFScan-UI.aar
Third-party / toolsRMSSDK-4.2-release.aar,rms-sdk-ui.aar