Examples

Add annotations to PDF with alpha values

Learn how to create multiple annotation types in PDFs using Java. Explore links, highlights, free text, and more with our comprehensive guide.

Add Annotations to Images

Learn to load image files for PDF annotation using Kotlin with our guide. Explore additional resources and examples for Android development.

Create a digital signature

Learn how to register a digital certificate for signing PDFs in Android. Explore our guides on digital signatures and generating self-signed certificates.

Embed files in a PDF

Learn to programmatically embed files in PDF documents with annotations. Explore our guide for resources on creating PDF annotations in Android.

Add PDF form elements with JavaScript actions attached

Learn how to add PDF form elements using JavaScript actions. Explore our guide on validating PDF forms in Android for more resources and examples.

Add signature to PDF

Learn to digitally sign PDFs by clicking the signature field. Explore our guide for more resources on adding digital signatures in Android.

Add video and gallery annotations programmatically

Learn how to enhance your PDFs with a gallery and video annotations. Visit our guide for more on multimedia annotations in Android.

Adding actions to the document sharing menu

Learn how to add a custom action to the document sharing menu in Android. Explore our guide on configuring PDF sharing options for more insights.

Add watermarks to PDFs

Learn how to add images, text, and logos as watermarks in your PDFs. Explore our guide for detailed steps and Kotlin code examples.

Toggle UI visibility

Learn how to modify the UI view mode in a custom Android Activity. Explore our Kotlin example and access additional resources on UI visibility.

Zoom and Pan Documents

Learn to zoom and pan around PDF pages programmatically. Explore Kotlin examples and customize zoom options in our comprehensive Android guide.

Change how annotation selection is visualized

Discover how to customize annotation selection states and explore the AnnotationSelectionController API for advanced theming configurations.

View setup for continuous scrolling

Learn to set up continuous vertical scrolling with fit-to-width zoom in your Android app. Explore our guide for more customization options.

JavaScript actions

Learn to create and execute JavaScript actions within PDFs. Explore our guide on PDF annotation actions in Android for more resources and examples.

Create PDF annotations programmatically

Learn to programmatically add links, highlights, and notes to PDFs using Kotlin. Explore our Android PDF annotation library for more resources.

Create PDF forms programmatically

Learn how to add new PDF form elements in Android. Explore our guide on creating fillable PDF forms and access valuable code samples for implementation.

Create a custom annotation in PDF toolbar

Learn how to add custom items to the annotation toolbar in Android. Visit our guide for detailed instructions and example code.

Custom new page template

Learn to add custom templates to the new page dialog in Android. Visit our guide on customizing the PDF editing toolbar for more resources.

Fragment

Learn how to create an Android activity using PdfFragment. Access our comprehensive guide for tips and resources on customizing your interface effectively.

Custom search UI

Learn to build a custom search view using the search API and access our guide on text searching in PDFs for Android development.

Add custom sharing actions

Learn how to implement custom sharing actions for PDFs in Android. Access our guide for detailed resources and code samples for seamless integration.

Create a custom UI for navigating between PDFs

Learn how to implement a side navigation drawer to switch documents easily. Explore our DocumentCoordinator API guide for more resources.

Custom activity with toolbars

Learn how to hide default toolbars and use contextual toolbars in a custom PdfFragment activity with our Java code example.

Custom annotation inspector

Learn to implement a custom annotation inspector in Android. Access our guide and example code for enhancing your annotation features effectively.

Add custom actions to the ActionBar

Learn how to modify ActionBar icons in your Android app with our example. Visit our guide for more on customizing PDF metadata and interfaces.

Progress data provider

Learn how to implement ProgressDataProvider in Android with our Kotlin example. Access resources on opening PDFs from URLs for enhanced functionality.

Change the PDF form highlight color

Learn to toggle between custom and theme highlight colors for form elements in Android. Visit our guide for more customization resources.

Custom activity integration with the PDF Form Editing UI

Discover how to use the Form Editing UI for custom activities in Android. Get resources for customizing the PDF editing toolbar today!

Use a custom set of PDF stamp annotations

Customizes the default set of stamps in the StampPickerDialog. Get additional resources by visiting our guide on [PDF stamp annotations in Android](/…

Customize the PDF view layout

Learn how to customize the PDF viewer layout in Android with our step-by-step guide and example code. Enhance your app's interface today!

Change annotation selection behavior

Learn to prevent Stamp annotations from being selected post-creation. Explore our guide on annotation events and notifications for more resources.

Custom document sharing dialog

Learn to implement a custom dialog in Android's document sharing flow. Explore our guide for PDF sharing options and enhance user experience.

Custom inline search

Learn how to implement PdfSearchViewInline in your custom layout. Explore our guide for more on styling PDF viewers in Android.

Customize annotation note hints

Discover how to customize ink annotation note hints in Android. Access our guide and example code to optimize your PDF rendering experience.

Custom PDF annotation toolbar grouping

Learn how to modify the toolbar menu structure and toggle item visibility in Android PDF viewer with our practical guide and code example.

Customize the download progress dialog

Learn to build a custom DownloadProgressFragment and explore our guide on opening PDFs from URLs in Android for enhanced user experience.

Vertical scroll bar in the document view

Discover how to improve document navigation using the Scroll API and VerticalScrollBar widget. Visit our guide for customizing Android scrollbars.

Disable annotation properties

Learn to disable the annotation note option in the editing toolbar. Explore our guide for additional resources on managing annotation properties in Android.

Disable text selection in PDF

Learn how to use ApplicationPolicy to prevent text copying in Android. Access our guide for best practices and code samples for effective implementation.

Show two PDFs side-by-side

Learn how to use two PdfFragment instances side-by-side in Android. Access our guide for tips on opening multiple PDFs efficiently.

Kiosk grid: Display multiple PDFs

Learn to display all documents in the assets folder using grid view. Visit our guide for tips on opening multiple PDFs in the Android viewer.

Download a PDF into your app

Learn to download PDF files from the web with our step-by-step guide. Explore Kotlin examples and tips for opening PDFs on Android devices.

Annotation overlay mode

An example showing how to draw annotations as overlay views instead of rendering them as part of the page. Get additional resources by visiting our g…

PDF processing and editing

Discover how to utilize the PdfProcessor class for document processing in Android. Access our guides and Kotlin example for effective implementation.

Filterable thumbnail grid

Learn to use PdfProcessor and DocumentCoordinator for a customizable thumbnail grid in Android. Filter by annotated or bookmarked pages easily.

Generate PDF report

Learn how to create a password-protected PDF from multiple files using Kotlin. Explore our Android PDF editor library for more resources and examples.

PDF creation from canvas

Learn how to create a document using Android canvas and explore our Android PDF generation library for more resources and examples.

Import and export Instant Document JSON

Learn to import and export Instant Document JSON using PSPDFKit. Access our Kotlin example and further resources on how Instant JSON works.

XFDF data import and export

Discover how to use the XML Forms Data Format (XFDF) for managing PDF forms and annotations. Explore code examples and resources for Android integration.

Inline multimedia

Discover how to display rich media and video annotations in PDFs on Android. Visit our guide for embedding videos and multimedia annotations today!

JavaScript PDF form filling

Learn to fill out PDF forms using the JavaScript bridge. Explore our guide for PDF annotation actions in Android and access useful code samples.

PDF viewer

Discover how to open PDF documents in a web browser using our Android PDF viewer library. Access code samples and additional resources for easy implementation.

Merge PDF documents

Learn to merge multiple PDF files in Android with our guide and example code. Enhance your document processing using Kotlin and additional resources.

Open an AES-encrypted PDF

Learn how to open AES-encrypted PDFs without storing decrypted data. Explore our guide on decrypting PDFs securely in Android.

Open remote or local PDFs

Learn how to open documents in Android using file system, app assets, or URIs. Follow our guide for tips and code samples for seamless integration.

Using custom DataProviders

Learn to load PDF documents using PdfActivity and a custom DataProvider. Explore our guide for more tips on Android PDF handling.

Open multiple PDFs in tabs

Discover how to open multiple PDF documents in a tabbed interface with our guide. Explore the Kotlin example for seamless document handling.

OCR

Learn to perform OCR on PDFs in Android. Explore our guide and access Kotlin code examples to seamlessly integrate OCR SDK into your app.

Annotation rendering in PDFs

Learn how to control annotation rendering in Android and explore our Kotlin example. Visit our guide for additional resources on rendering annotations.

PDF collaboration with Instant

Learn how to connect to PSPDFKit Instant server and download documents for collaborative editing. Explore our resources for Android PDF collaboration.

Fill out PDF forms programmatically

Learn how to fill out PDF forms in your Android app using Kotlin. Access our comprehensive guide for more resources and code samples.

Full-text search indexing

Learn how to index all PDFs in your Android catalog app for full-text search. Access our guide for additional resources on PDF indexing techniques.

Use the dark theme

Discover how to apply a custom theme in your Android PDF viewer with our Kotlin example. Access additional resources for styling customization.

PDF-based JavaScript calculator

Explore our PDF example featuring a JavaScript calculator app. Access additional resources on PDF annotation actions for Android.

Password-protected PDF

Learn how to handle password-protected PDFs in Android. Access our Kotlin example and find tips for opening secured documents easily.

Random document replacement example

Explore a Java example that stress tests document replacement at random intervals, enhancing performance and reliability in your applications.

Rotate page temporarily

Learn how to temporarily rotate PDF pages in Android with our Kotlin example. Visit our guide for more tips on page manipulation and resources.

Runtime configuration activity

Learn to change Android activity configuration at runtime. Explore our guide on disabling annotation editing and PdfActivityConfiguration.Builder API.

Runtime configuration fragment

Learn how to modify PdfFragment settings dynamically. Explore our PdfActivityConfiguration.Builder API guide for more resources and examples.

Set annotation flags on PDF

You can set different flags, like a NOZOOM flag to ensure the annotation is always drawn with the same dimensions on screen, on annotati…

Start PdfActivity without PDF loaded

Learn to initiate a PdfActivity without a PDF document. Explore our Kotlin example and additional resources for customizing your PDF interface.

TextToSpeech screen reader

Discover how to create a PDF screen reader on Android that highlights spoken words. Access our guide for more on accessibility features and resources.

Title Description Languages
Add annotations to PDF with alpha values Learn how to create multiple annotation types in PDFs using Java. Explore links, highlights, free text, and more with our comprehensive guide. Java
Add Annotations to Images Learn to load image files for PDF annotation using Kotlin with our guide. Explore additional resources and examples for Android development. Kotlin
Create a digital signature Learn how to register a digital certificate for signing PDFs in Android. Explore our guides on digital signatures and generating self-signed certificates. Kotlin
Embed files in a PDF Learn to programmatically embed files in PDF documents with annotations. Explore our guide for resources on creating PDF annotations in Android. Kotlin
Add PDF form elements with JavaScript actions attached Learn how to add PDF form elements using JavaScript actions. Explore our guide on validating PDF forms in Android for more resources and examples. Java
Add signature to PDF Learn to digitally sign PDFs by clicking the signature field. Explore our guide for more resources on adding digital signatures in Android. Kotlin
Add video and gallery annotations programmatically Learn how to enhance your PDFs with a gallery and video annotations. Visit our guide for more on multimedia annotations in Android. Java
Adding actions to the document sharing menu Learn how to add a custom action to the document sharing menu in Android. Explore our guide on configuring PDF sharing options for more insights. Java
Add watermarks to PDFs Learn how to add images, text, and logos as watermarks in your PDFs. Explore our guide for detailed steps and Kotlin code examples. Kotlin
Toggle UI visibility Learn how to modify the UI view mode in a custom Android Activity. Explore our Kotlin example and access additional resources on UI visibility. Kotlin
Zoom and Pan Documents Learn to zoom and pan around PDF pages programmatically. Explore Kotlin examples and customize zoom options in our comprehensive Android guide. Kotlin
Change how annotation selection is visualized Discover how to customize annotation selection states and explore the AnnotationSelectionController API for advanced theming configurations. Kotlin
View setup for continuous scrolling Learn to set up continuous vertical scrolling with fit-to-width zoom in your Android app. Explore our guide for more customization options. Kotlin
JavaScript actions Learn to create and execute JavaScript actions within PDFs. Explore our guide on PDF annotation actions in Android for more resources and examples. Java
Create PDF annotations programmatically Learn to programmatically add links, highlights, and notes to PDFs using Kotlin. Explore our Android PDF annotation library for more resources. Kotlin
Create PDF forms programmatically Learn how to add new PDF form elements in Android. Explore our guide on creating fillable PDF forms and access valuable code samples for implementation. Kotlin
Create a custom annotation in PDF toolbar Learn how to add custom items to the annotation toolbar in Android. Visit our guide for detailed instructions and example code. Java
Custom new page template Learn to add custom templates to the new page dialog in Android. Visit our guide on customizing the PDF editing toolbar for more resources. Java
Fragment Learn how to create an Android activity using PdfFragment. Access our comprehensive guide for tips and resources on customizing your interface effectively. Kotlin
Custom search UI Learn to build a custom search view using the search API and access our guide on text searching in PDFs for Android development. Java
Add custom sharing actions Learn how to implement custom sharing actions for PDFs in Android. Access our guide for detailed resources and code samples for seamless integration. Java
Create a custom UI for navigating between PDFs Learn how to implement a side navigation drawer to switch documents easily. Explore our DocumentCoordinator API guide for more resources. Java
Custom activity with toolbars Learn how to hide default toolbars and use contextual toolbars in a custom PdfFragment activity with our Java code example. Java
Custom annotation inspector Learn to implement a custom annotation inspector in Android. Access our guide and example code for enhancing your annotation features effectively. Java
Add custom actions to the ActionBar Learn how to modify ActionBar icons in your Android app with our example. Visit our guide for more on customizing PDF metadata and interfaces. Kotlin
Progress data provider Learn how to implement ProgressDataProvider in Android with our Kotlin example. Access resources on opening PDFs from URLs for enhanced functionality. Kotlin
Change the PDF form highlight color Learn to toggle between custom and theme highlight colors for form elements in Android. Visit our guide for more customization resources. Java
Custom activity integration with the PDF Form Editing UI Discover how to use the Form Editing UI for custom activities in Android. Get resources for customizing the PDF editing toolbar today! Java
Use a custom set of PDF stamp annotations Customizes the default set of stamps in the StampPickerDialog. Get additional resources by visiting our guide on [PDF stamp annotations in Android](/… Java
Customize the PDF view layout Learn how to customize the PDF viewer layout in Android with our step-by-step guide and example code. Enhance your app's interface today! Kotlin
Change annotation selection behavior Learn to prevent Stamp annotations from being selected post-creation. Explore our guide on annotation events and notifications for more resources. Java
Custom document sharing dialog Learn to implement a custom dialog in Android's document sharing flow. Explore our guide for PDF sharing options and enhance user experience. Java
Custom inline search Learn how to implement PdfSearchViewInline in your custom layout. Explore our guide for more on styling PDF viewers in Android. Java
Customize annotation note hints Discover how to customize ink annotation note hints in Android. Access our guide and example code to optimize your PDF rendering experience. Kotlin
Custom PDF annotation toolbar grouping Learn how to modify the toolbar menu structure and toggle item visibility in Android PDF viewer with our practical guide and code example. Java
Customize the download progress dialog Learn to build a custom DownloadProgressFragment and explore our guide on opening PDFs from URLs in Android for enhanced user experience. Java
Vertical scroll bar in the document view Discover how to improve document navigation using the Scroll API and VerticalScrollBar widget. Visit our guide for customizing Android scrollbars. Java
Disable annotation properties Learn to disable the annotation note option in the editing toolbar. Explore our guide for additional resources on managing annotation properties in Android. Java
Disable text selection in PDF Learn how to use ApplicationPolicy to prevent text copying in Android. Access our guide for best practices and code samples for effective implementation. Kotlin
Show two PDFs side-by-side Learn how to use two PdfFragment instances side-by-side in Android. Access our guide for tips on opening multiple PDFs efficiently. Java
Kiosk grid: Display multiple PDFs Learn to display all documents in the assets folder using grid view. Visit our guide for tips on opening multiple PDFs in the Android viewer. Kotlin
Download a PDF into your app Learn to download PDF files from the web with our step-by-step guide. Explore Kotlin examples and tips for opening PDFs on Android devices. Kotlin
Annotation overlay mode An example showing how to draw annotations as overlay views instead of rendering them as part of the page. Get additional resources by visiting our g… Java
PDF processing and editing Discover how to utilize the PdfProcessor class for document processing in Android. Access our guides and Kotlin example for effective implementation. Kotlin
Filterable thumbnail grid Learn to use PdfProcessor and DocumentCoordinator for a customizable thumbnail grid in Android. Filter by annotated or bookmarked pages easily. Java
Generate PDF report Learn how to create a password-protected PDF from multiple files using Kotlin. Explore our Android PDF editor library for more resources and examples. Kotlin
PDF creation from canvas Learn how to create a document using Android canvas and explore our Android PDF generation library for more resources and examples. Kotlin
Import and export Instant Document JSON Learn to import and export Instant Document JSON using PSPDFKit. Access our Kotlin example and further resources on how Instant JSON works. Kotlin
XFDF data import and export Discover how to use the XML Forms Data Format (XFDF) for managing PDF forms and annotations. Explore code examples and resources for Android integration. Java
Inline multimedia Discover how to display rich media and video annotations in PDFs on Android. Visit our guide for embedding videos and multimedia annotations today! Kotlin
JavaScript PDF form filling Learn to fill out PDF forms using the JavaScript bridge. Explore our guide for PDF annotation actions in Android and access useful code samples. Java
PDF viewer Discover how to open PDF documents in a web browser using our Android PDF viewer library. Access code samples and additional resources for easy implementation. Kotlin
Merge PDF documents Learn to merge multiple PDF files in Android with our guide and example code. Enhance your document processing using Kotlin and additional resources. Kotlin
Open an AES-encrypted PDF Learn how to open AES-encrypted PDFs without storing decrypted data. Explore our guide on decrypting PDFs securely in Android. Java
Open remote or local PDFs Learn how to open documents in Android using file system, app assets, or URIs. Follow our guide for tips and code samples for seamless integration. Kotlin
Using custom DataProviders Learn to load PDF documents using PdfActivity and a custom DataProvider. Explore our guide for more tips on Android PDF handling. Kotlin
Open multiple PDFs in tabs Discover how to open multiple PDF documents in a tabbed interface with our guide. Explore the Kotlin example for seamless document handling. Kotlin
OCR Learn to perform OCR on PDFs in Android. Explore our guide and access Kotlin code examples to seamlessly integrate OCR SDK into your app. Kotlin
Annotation rendering in PDFs Learn how to control annotation rendering in Android and explore our Kotlin example. Visit our guide for additional resources on rendering annotations. Kotlin
PDF collaboration with Instant Learn how to connect to PSPDFKit Instant server and download documents for collaborative editing. Explore our resources for Android PDF collaboration. Kotlin
Fill out PDF forms programmatically Learn how to fill out PDF forms in your Android app using Kotlin. Access our comprehensive guide for more resources and code samples. Kotlin
Full-text search indexing Learn how to index all PDFs in your Android catalog app for full-text search. Access our guide for additional resources on PDF indexing techniques. Java
Use the dark theme Discover how to apply a custom theme in your Android PDF viewer with our Kotlin example. Access additional resources for styling customization. Kotlin
PDF-based JavaScript calculator Explore our PDF example featuring a JavaScript calculator app. Access additional resources on PDF annotation actions for Android. Kotlin
Password-protected PDF Learn how to handle password-protected PDFs in Android. Access our Kotlin example and find tips for opening secured documents easily. Kotlin
Random document replacement example Explore a Java example that stress tests document replacement at random intervals, enhancing performance and reliability in your applications. Java
Rotate page temporarily Learn how to temporarily rotate PDF pages in Android with our Kotlin example. Visit our guide for more tips on page manipulation and resources. Kotlin
Runtime configuration activity Learn to change Android activity configuration at runtime. Explore our guide on disabling annotation editing and PdfActivityConfiguration.Builder API. Kotlin
Runtime configuration fragment Learn how to modify PdfFragment settings dynamically. Explore our PdfActivityConfiguration.Builder API guide for more resources and examples. Kotlin
Set annotation flags on PDF You can set different flags, like a NOZOOM flag to ensure the annotation is always drawn with the same dimensions on screen, on annotati… Java
Start PdfActivity without PDF loaded Learn to initiate a PdfActivity without a PDF document. Explore our Kotlin example and additional resources for customizing your PDF interface. Kotlin
TextToSpeech screen reader Discover how to create a PDF screen reader on Android that highlights spoken words. Access our guide for more on accessibility features and resources. Java