On this page

Stuck? Open a support ticket and the barKoder team will help. Open a ticket

Android

Add barcode scanning to your Android app. Install the package, follow the four installation steps, then add the features your app needs.

Install · Gradle, with barkoder.aar from the Developer Portal in app/libs implementation(files("libs/barkoder.aar")) The installation guide →
Start here General example A complete scanner screen: the license key, the barcode types to read, the settings and the result. Open the example →

Install in 4 steps

from the Installation guide
  1. 1 Add the packageWay 1: the barkoder module (Groovy DSL) · Add Dependency · Way 2: the AAR file (Kotlin DSL)
  2. 2 Add the scanner viewAdd Activity/Fragment
  3. 3 Set the license key and barcode typesLicensing · Create Barkoder Config · Enabling Symbologies
  4. 4 Start scanning and read resultsAdd BarkoderResultCallback · Start Scanning

Add features

16 examples

All 16 Android examples →

Overview #

Built for flexibility and high performance, the SDK supports a wide array of barcode formats, including 1D and 2D barcodes, as well as machine-readable zones (MRZs) from passports and ID documents. Whether you’re developing apps for retail, logistics, or identity verification, the barKoder Android SDK delivers the tools needed for seamless functionality.

With its robust capabilities, the SDK provides advanced image processing to ensure precise scanning, even in suboptimal conditions such as poor lighting or damaged codes. It offers seamless compatibility with Java and Kotlin, making it a versatile choice for developers across Android development environments.

The barKoder Android SDK also supports extensive customization, enabling tailored solutions to fit specific workflows and industry requirements.


Supported: #

  • Android 5.0 (API 21) and above
  • Supported ABI: arm64-v8a, armeabi-v7a, x86, x86_64
  • Kotlin and Java

Features available: #

  • Damaged Barcodes (MatrixSight®) — Advanced decoding algorithm in barKoder that boosts reliability, accuracy, and versatility for mobile barcode recognition, especially on damaged codes.
  • Deformed Barcodes (Segment Decoding®) — Reads heavily deformed/crumpled 1D barcodes using location detection and pattern matching, handling print errors, label damage, low quality, angles, and other physical/environmental issues.
  • Blurry Barcodes (Deblur) — Accurately scans EAN/UPC even with motion, lens, or focus blur.
  • Multiple Barcodes (Batch MultiScan) — Continuously scans multiple barcodes of mixed types/densities with result caching and location reconstruction for smooth UX.
  • VIN Scanner — Combines MatrixSight® and Segment Decoding® to read tough VIN barcodes (Code 39, Code 128, Data Matrix, QR) in difficult conditions.
  • MRZ Scanner — Fast, accurate MRZ reading for biometric documents; easy to integrate and nearly turnkey across mobile platforms.
  • PDF417 Scanner (PDF417-LineSight®) — Robust PDF417 decoding even when start/stop patterns, row indicators, or entire columns are missing—ideal for worn IDs and similar docs.
  • DPM Scanner — Special mode for decoding challenging Data Matrix barcodes made via Direct Part Marking (engraved), bringing high-end hardware-level results to mobile devices.