Declaring Android camera permissions
The Scanbot SDK needs access to the device camera so it can scan from a live camera stream. Therefore, the camera permission
android.permission.CAMERA must be defined in the AndroidManifest.xml file.
<manifest xmlns:android="http://schemas.android.com/apk/res/android" ...>
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<application ...>
Note how we also added the uses-feature tag for better recognition of your app on the Google Play Store (more about this in the Android developer documentation).
Since Android 6.0 (API level 23), you also have to implement a suitable permission requesting and handling at runtime. For more details, please refer to the Android documentation and our basic example implementation.
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
