Add barcode generation and recognition to Android apps with a Java SDK built for mobile workflows. Use the core API for images and files, or embed a ready-to-use camera scanning component for point-and-scan screens.
Vendor
Aspose
Company Website
Aspose.BarCode for Android via Java is a barcode generation and recognition API designed specifically for Android applications. It allows developers to add barcode functionality to mobile projects through a Java-based SDK optimized for real-time, on-device processing. The product supports barcode creation and scanning from images, files, and camera input. For mobile workflows, it includes a ready-made camera scanning component that can run as a standalone Activity or be embedded as a Fragment, avoiding the need to assemble camera and decoding pipelines manually. The API supports over 80 barcode symbologies, all major image formats—including SVG, EMF, and PDF—and works on Android API level 19 and higher. Integration is simple through Gradle using an AAR package from the Aspose Maven repository.
Features
Barcode Generation
- Create barcodes such as QR Code, MicroQR, rMQR, Data Matrix, Industrial Data Matrix (DPM), Aztec, Han Xin, MaxiCode, DotCode, and many linear symbologies like UPCA, UPCE, EAN series, ITF, DataBar, and Code 128.
- Customize barcode appearance with controls for background color, bar color, X‑dimension, rotation angle, resolution, image quality, size, captions, and other styling parameters.
- Export barcode images in high‑quality formats, including PNG, SVG, EMF, and PDF.
- Generate barcodes in just a few lines of code using simple Java APIs. Barcode Recognition
- Recognize barcodes from camera frames, photos, raster images, PDFs, and files.
- Supports scanning multiple barcodes in one image and across multi‑page TIFF and PDF documents.
- Provides a drop‑in camera scanning UI component for Android that can be used as an Activity or Fragment.
- Recognition settings can be tuned directly from the scanning component, using QualitySettings presets such as high-performance or tailored recognition configurations for difficult images.
- Identifies barcodes even when they are rotated, angled, low‑contrast, or partially damaged. Supported Symbologies Matrix / 2D Codes: QR, MicroQR, rMQR, Data Matrix, Industrial DPM, Aztec, Han Xin, MaxiCode, DotCode Linear / 1D Codes: UPCA, UPCE, EAN8, EAN13, EAN14, ITF, DataBar, Code 128 Postal Codes & Composite Codes: GS1, ECI, composite barcodes, HIBC, SwissQR, Royal Mailmark Platform & Development Support
- Android API level 19+
- Works with Android Studio, IntelliJ IDEA, Gradle, Docker, Linux, Windows, and macOS-based development environments
- Available as a Gradle AAR dependency
Benefits
- Mobile‑optimized barcode workflows: Designed specifically for Android, enabling real‑time scanning and generation even on mid‑range devices.
- Drop‑in scanning UI: Reduces development time by providing a camera-based scanning component with configurable recognition settings.
- Reliable decoding in real conditions: Handles noisy, skewed, rotated, or low‑contrast images from mobile cameras or scanned documents.
- Full symbology coverage: Supports 80+ barcode types across 1D, 2D, postal, and composite categories.
- Easy integration: Simple Java API, Gradle-based installation, and compatibility with widely used Android development tools.
- Flexible UX embedding: Use as a standalone scanner Activity or embed the scanning Fragment into custom Android screens.