Android Document Scanner SDK
Mobile Data Capture for Native Android
Trusted by 250+ industry leaders
Simple to use for anyone
Allow even non-tech-savvy users to easily create crisp document scans thanks to user guidance, automatic capture, auto-cropping, and other features.
100% offline
No servers, no tracking, complete data security.
Customizable UI components
Our Ready-To-Use UI components cover all document scanning scenarios and are highly customizable.
Technical requirements
The Scanbot Android Document Scanner SDK has the following technical requirements:
- Hardware: Requires a rear-facing camera with autofocus
- Supported Architectures: armeabi-v7, arm64-v8a, x86, and x86_64
- Operating System: Android 5.0 (API Level 21) and higher, including HarmonyOS 2.0 and higher
Turn mobile devices into easy-to-use, high-quality document scanners
The Scanbot Document Scanner SDK for Android provides all the necessary tools to integrate document scanning into your app. The SDK operates entirely offline, ensuring secure data handling and compliance with GDPR and CCPA/CPRA standards.
In addition to scanning documents with a mobile device’s camera, the SDK can also process imported images and apply image optimization features. This ensures consistent, high-quality results from both live scans and imported files.
The SDK includes Ready-To-Use UI (RTU UI) components, allowing integration within an hour. These components simplify the process of adding scanning functionality to your Android app and can be customized to match specific workflows and the app’s branding.
Customers receive dedicated chat support through Slack, Microsoft Teams, or email. For integration support, non-customers can get in touch with our support engineers.
Features
Learn more about our document scanning features
The SDK offers a comprehensive set of features designed to simplify the scanning experience for your users and improve output quality.
-
User Guidance
Ease of use is crucial for any app’s design, especially with a large user base. Our on-screen user guidance helps even non-tech-savvy users create the perfect scan.
-
Automatic Capture
-
Automatic Cropping
-
Document Quality Analyzer
-
Custom Filters
-
Multiple Export Formats
How to integrate the Scanbot Android Document Scanner SDK using Ready-to-Use UI
The Document Scanner is available with SDK Package 1. You have to add the following dependencies for it:
implementation("io.scanbot:sdk-package-1:$latestSdkVersion")
implementation("io.scanbot:sdk-multitasktext-assets:$latestSdkVersion")
implementation("io.scanbot:rtu-ui-v2-bundle:$latestSdkVersion")
Launching the scanner
In this section, we’ll show you how to start the Document Scanner with minimal code. We’ll also describe how to configure it extensively later on.
class LaunchSnippet : AppCompatActivity() {
private val context = this
private val documentScannerResult: ActivityResultLauncher<DocumentScanningFlow> by lazy {
registerForActivityResult(DocumentScannerActivity.ResultContract(context)) { result ->
if (result.resultCode == Activity.RESULT_OK) {
result.result?.let { document ->
// Handle the document.
}
} else {
// Indicates that the cancel button was tapped.
}
}
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
// In the real application, you should call this function on button click
startScanning()
}
fun startScanning() {
// Create the default configuration object.
val configuration = DocumentScanningFlow()
// Start the recognizer activity.
documentScannerResult.launch(configuration)
}