Classic UI for the Android Document Scanner Module
Overview
The Scanbot SDK now supports a customizable Document Scanner composable that you can use to build your own Document Scanner screen using Jetpack Compose. It provides a UI for Document scanning with guidance overlays and a camera preview.
The DocumentScannerCustomUI provides fully customizable camera controls and features with encapsulated scanning logic.
Adding the feature as a dependency
implementation("io.scanbot:rtu-ui-v2-bundle:$latestSdkVersion") // To use compose components with document scanner
Integration
DocumentScannerCustomUIprovides fully customizable camera controls and features with encapsulated scanning logic.
Take a look at the document-scanner example app to see how to integrate the scanner and the compose-example to see how to build a custom UI using the compose components.
To implement the Document Scanner using composables, you need to create a composable layout with DocumentScannerCustomUI:
loading...
To control the scanning process and camera params, use mutable states and pass them to the DocumentScannerCustomUI composable:
loading...
Additionally, you can customize the finder overlay by passing your FinderOverlayConfiguration to the finderConfiguration parameter of the DocumentScannerCustomUI composable:
loading...
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get free trial licenseScanbot SDK is part of the Apryse SDK product family
A mobile scan is just the start. With Apryse SDKs, you can expand mobile workflows into full cross‑platform document processing. Whether you need to edit PDFs, add secure digital signatures, or use a fast, customizable document viewer and editor, Apryse gives you the tools to build powerful features quickly.
Learn more
