Skip to content
ComPDF
Guides

Overview

This section explains how to integrate CPDFReaderView into an Android app and how to use the core viewer features for reading workflows, including document state handling, display modes, page navigation, text search, zooming, themes, and accessibility support.

If you're integrating the viewer for the first time, start with the basic setup and then move through the feature guides you need.

Starting from version 2.6.6, the ComPDF Android PDF viewer supports TalkBack accessibility, providing spoken feedback and focus guidance for key viewer interactions to help developers build a more accessible reading experience.

For first-time integration, read these pages in order:

  1. Start with Using CPDFReaderView to complete the basic setup.
  2. Then review Document State and Error Callbacks to handle loading status and exceptions.
  3. If your app needs screen reader support, continue with TalkBack Accessibility Support to review the supported version, validation steps, and integration guidance.
  4. Continue with the display modes, navigation, search, and theme topics as needed.

In This Section

Overview and Integration

Basic Reading

  • Display Modes

    Configure single-page, double-page, book, flip, and continuous scrolling modes, as well as crop mode and view mode.

  • Page Navigation

    Jump to a target page and listen for page movement and scrolling events in the viewer.

  • Zooming

    Adjust the page zoom level to match different reading preferences and display scenarios.

  • Themes

    Use preset themes or custom colors to support different reading environments.

Document Navigation

  • Outlines

    Use the document outline to move through chapters and content structure more efficiently.

  • Bookmarks

    Manage bookmarks and jump back to saved locations in the document.

Text Interaction

Interaction Enhancements

Advanced Customization

  • Custom Menu

    Customize the context menu to add quick actions during reading workflows.

Accessibility