Skip to content

Foxit PDF SDK for Mobile ​

Foxit PDF SDK for mobile helps you integrate Foxit PDF technology quickly into mobile apps. Even with limited PDF experience, you can build professional PDF readers on mobile using the Foxit development kit.

Supported platforms:

Relationship to Foxit PDF SDK for Desktop/Server ​

Foxit PDF SDK for Mobile is an application-layer SDK built on top of Foxit PDF SDK for Desktop/Server. It uses the same three-layer model as Foxit PDF SDK for Web; only class names and packaging differ by platform.

SDK architecture ​

The mobile SDK has three core components shared across platforms for easier integration and cross-platform support.

ComponentRolePlatforms and delivery
UI Extension (Full UI)Open-source library with built-in UI modules: text selection, annotations, navigation, bookmarks, search, form filling, reflow, attachments, signatures, editing, encryption, and moreAndroid: FoxitRDKUIExtensions.aar
iOS: uiextensionsDynamic.framework (xcframework supports Mac Catalyst)
PDFViewCtrl (Basic Viewer)Basic PDF display control with high-quality rendering, zoom, scroll, and page navigationAndroid: FoxitRDK.aar
iOS: FoxitRDK.framework (xcframework supports Mac Catalyst)
Core SDKLow-level PDF APIs: rendering, text extraction, search, forms, signatures, encryption, annotations, and moreBoth platforms; packaged in each platform's FoxitRDK package

NOTE

  • macOS reuses the iOS SDK via Mac Catalyst; no separate integration is required.

UI Extension (Full UI) ​

UI Extensions uses a modular design: each feature is a separate module. By default, all modules load except the file management module. Implement the Module interface for custom modules and use UIExtensionsManager registerModule / unregisterModule to register or unregister them.

UIExtensionsManager includes the main framework UI (top/bottom toolbars) and shared UI used across modules. It routes messages and events from PDF View Control to feature modules. When modules load, they adapt the main framework UI and wire up event handling.

Relationship between UIExtensionsManager and modules:

UIExtensionsManager and modules

PDFViewCtrl (Basic Viewer) ​

PDFViewCtrl is a utility class for interacting with the rendered PDF document. Built on Foxit PDF rendering, it supports fast, high-quality rendering, zoom, scroll, and page navigation. It extends the platform-specific Viewer class and can be extended further.

Core SDK ​

PDF Core SDK is the core of the SDK, based on Foxit’s underlying PDF technology. It provides rendering, parsing, extraction, search, forms, signatures, handwriting, certificates, encryption, annotations, and more for high performance and efficiency.

Mobile Viewer Demo Feature Comparison ​

FeatureDescriptionAndroidiOS
Document manipulationOpen and close files; get and set metadata√√
Page manipulationParse, render, read, and edit document pages√√
RenderingCreate image rendering engine on Bitmap√√
ReflowReflow page content to fit the screen√√
CroppingCrop PDF pages√√
Text selectionSelect and copy text on pages√√
Text searchText search, including full-text index search√√
OutlineNavigate and link to points of interest in the document√√
Reading bookmarkMark pages and paragraphs of interest√√
AnnotationsCreate, edit, and remove annotations√√
LayersAdd, edit, and remove PDF layer content√√
AttachmentsAdd, edit, and remove document-level attachments√√
FormsJavaScript form filling; import/export form data via XFDF/FDF/XML; text fields, checkboxes, radio buttons, combo boxes, list boxes, signature fields√√
XFAStatic and dynamic XFA√√
SignaturesSign PDFs, verify signatures, add/remove signature fields; third-party digital signatures and LTV√√
Fill and signFill flattened (non-interactive) forms with text and symbols√√
SecurityPassword and certificate encryption√√
Zoom navigationAdjust view zoom and position to match a rectangle in the thumbnail view√√
PrintPrint PDF documents√√
RMSRMS decryption per Microsoft IRMv1 and IRMv2√√
Document comparisonCompare two PDFs and highlight differences√√
ScanningScan paper documents and convert to PDF√√
Read aloudRead text in PDF documents aloud√√
Split screenSplit-screen display√√
Right-to-leftRTL (right-to-left) layout√√
Memory recoveryRecover from out-of-memory conditions√√

NOTE

  • Outline is a PDF specification term; desktop PDF readers often call it "bookmarks".
  • Reading bookmark is common in mobile and tablet readers to mark reading progress or interesting passages. Reading bookmarks are not outlines technically—they are stored in the app, not in the PDF file.