Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

* Update base project for demo_app

Update dependencies

* Fix getting images for recognition

* Cleanup manifest

* Update version to 23.1

* Add to good url

* Gitignore cleanup

Co-authored-by: Denis Averin <>

Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Android Application for Barcode Processing in the Cloud via REST API

API version: 3.0 GitHub license

This cloud SDK assists you to seamlessly integrate barcode generation, processing & conversion functionality into your Android & other Java cloud apps. Generate new barcodes (Linear, 2D & Postal), configure barcode properties and attributes, such as barcode height, dimensions, image format, and more. Scan existing barcodes belonging to 60+ symbologies, including, Codabar, PDF417, QR, MicroQR, EAN, Postnet, UPC, RM4SCC and many more.

BarCode Processing Features

  • Generate, scan and customize 1D (linear), 2D and postal barcodes.
  • Generate and recognize barcodes with the checksum option.
  • Fetch barcode as an image stream or save the barcode to the local disk.
  • Configure barcode height, width, angle quality, margin & resolution.
  • Configure barcode to be auto-sized or set X & Y dimensions.
  • Generate a new barcode with a specified code text location.
  • Apply bar height and barcode image format.
  • Rotate the barcode image at a certain angle & generate multiple barcodes.
  • Scan image to recognize barcode from a specific region of that image.
  • Recognize the specified number of barcodes.
  • Apply image processing algorithms to read barcodes.

Read & Write PDF Formats


Save BarCode As


Supported Barcode Symbologies

Linear barcode symbologies:

EAN13, EAN8, UPCA, UPCE, Interleaved2of5, Standard2of5, MSI, Code11, Codabar, EAN14(SCC14), SSCC18, ITF14, Matrix 2 of 5, PZN, Code128, Code39 Extended, Code39 Standard, Code93 Extended, Code16K, Code93 Standard, IATA 2 of 5, OPC, GS1Code128, ISBN, ISMN, ISSN, ITF6, VIN, Pharmacode, DatabarOmniDirectional, DatabarTruncated, DatabarLimited, DatabarExpanded, DatabarStackedOmniDirectional, DatabarExpandedStacked, DatabarStacked, PatchCode, Supplement (Decode only).

2D barcode symbologies:

PDF417, MacroPDF417, MicroPDF417, CompactPDF417 (Decode only), DataMatrix, Aztec, QR, MicroQR, DotCode, MaxiCode, Italian Post 25, GS1DataMatrix, Code16K.

Postal barcode symbologies:

Postnet, Planet, USPS OneCode, Australia Post, Deutsche Post Identcode, Deutsche Post Leticode, RM4SCC, SingaporePost, AustralianPosteParcel, SwissPostParcel, UpcaGs1DatabarCoupon.

New Features & Enhancements Version 21.2

  • CheckMore1DVariants Allows engine to recognize 1D barcodes with checksum by checking more recognition variants. Default value: False

New Features & Enhancements Version 20.12

  • Added the Structured Append support to the QR encoder. -Added the Kanji encoding to the QR encoder.

New Features & Enhancements in Version 20.11

  • Updated and fixed the UI components.
  • Added additional fields to the Databar section.
  • Added the Datamatrix support for Macro 5 and 6.

New Features & Enhancements in Version 20.10

  • Investigated the addition of NoWrap mode to BarcodeGenerator text fields.
  • Add the encodation scheme selector to the DataMatrix codetext.


To use Aspose Barcode Cloud for Android you need to register an account with Aspose Cloud and lookup/create Client Secret and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.

Getting Started

  • Open project in Android Studio

  • Go to file app/src/main/java/com/example/asposebarcodecloud/MainActivity.kt and set clientId and clientSecret to apropriate values from

  • Build project and run application on connected device or emulator.

Generate Code128 BbarCode in Android using Java

    // Get your ClientId and ClientSecret from (free registration required).
    ApiClient client = new ApiClient("MY_CLIENT_ID", "MY_CLIENT_SECRET");

    BarcodeApi api = new BarcodeApi(client);

    String type = "code128";
    String text = "text example";

    File result = api.getBarcodeGenerate(type, text);


All Aspose.BarCode for Cloud SDKs, helper scripts and templates are licensed under MIT License.

Aspose.Barcode Cloud SDKs in Popular Languages

.NET Java PHP Python Node.js Android Go
GitHub GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP NPM Maven Go.Dev

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial