Android APIs for Barcode Generation & Recognition

Create or read 1D, 2D and postal barcodes from images in any Android mobile app.

  Download Free Trial
Aspose.BarCode for Android via Java

Aspose.BarCode for Android via Java

 
 

Aspose.BarCode for Android via Java is a set of barcode generation & scanning APIs for Android applications. API supports 1D, 2D & postal barcodes from images at any angle. Barcode generator API easily creates barcode images within multiple formats.  Moreover, It supports multiple imaging features such as manipulating image borders, image color, rotating images, customizing resolution and much more.

 

Advanced Android Barcode API Features

 

 

Encode & decode non-english characters in 2D types

 

Control code's size, color & code text

 

Rotate code images at any angle

 

Generate and recognize a multitude of types

 

Support for linear, 2D & postal symbologies

 

Export code labels to a verity of image formats

Scanning Multiple Barcodes in Single Image

API has the capability to scan and recognize all codes present in an image with supported symbology type.

Recognize all barcodes

 BufferedImage img = ImageIO.read(new File(dir+ "MultiCodesImage.png"));
// Initialize barcode reader
BarCodeReader rd = new BarCodeReader(img, DecodeType.ALL_SUPPORTED_TYPES);
// Read all types of barcode
while (rd.read()) {
	// Print the code text, if barcode found and symbology type	
      System.out.println("Code Text: " + rd.getCodeText().toString() + " Code Type:  " + rd.getCodeType());
}

Supported Barcode Symbologies

Aspose.BarCode for Android via Java supports a large number of linear, 2D and postal bar code symbologies for both encoding and decoding.

API supported linear types include:

  • EAN13
  • EAN8
  • UPCA
  • UPCE
  • Interleaved2of5
  • Standard2of5
  • MSI
  • Code11
  • Code16K
  • Codabar
  • EAN14(SCC14)
  • SSCC18
  • ITF14
  • Matrix 2 of 5
  • PZN
  • Code128
  • Code39 Extended
  • Code39 Standard
  • Code93 Extended
  • 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 types include:

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

Postal types include:

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

Imaging, Rotation & Sizing

Common manipulation features of the barcode library are modifying barcode image, border and background colors, bar color, margins, width of images and much more. Furthermore, android API can adjust the resolution for the resultant images and can rotate images at any angle for generating high-quality images with anti-aliasing.

Customizing Symbologies & Appearance

Android barcode API allows you to easily customize the codes by specifying different kinds of symbologies, setting code text (data to be encoded to barcode image) and appearance-related properties like font, background color, foreground color, as well as alignment and location (hide, above, below). You can also easily manage caption settings such as font, background color, foreground color, alignment and location (hide, above, below).

 

Support and Learning Resources

 

Aspose.BarCode offers individual Barcode generation and recognition APIs for other popular development environments as listed below: