muhammadahmad November 1, 20180 Comments

Aspose.BarCode for Android via Java 18.10.1

Aspose.BarCode for Android via Java 18.10.1

November 1, 2018
Share on FacebookTweet about this on TwitterShare on LinkedIn

We are pleased to announce the release of Aspose.BarCode for Android via Java 18.10.1. This release addresses the instance reusability issue of the BarCodeReader. For a detailed note on what is new and fixed, please visit the release notes page for information of API documentation.

Enhancements made to the BarCodeReader

Before this release, if you wanted to scan two Barcodes, you had to create a new instance of the BarCodeReader to scan the second Barcode. This release of Aspose.Barcode for Android via Java addresses that issue. Now you can scan multiple Barcodes using the same instance of the BarCodeReader. This is demonstrated using a simple example given below.

BarCodeReader reader = new BarCodeReader();
reader.setBarCodeReadType(DecodeType.ALL_SUPPORTED_TYPES);
reader.setBarCodeImage("Barcode1.jpg");
while (reader.read())
{
System.out.println("Barcode 1: " + reader.getCodeText());
}
reader.setBarCodeImage("Barcode2.png");
while (reader.read())
{
System.out.println("Barcode 2: " + reader.getCodeText());
}
reader.close();

Aspose.BarCode for Android via Java Resources

As Aspose.Barcode for Android via Java is based on Aspose.Barcode for Java, the following API resources can be of help to you in getting started with Aspose.BarCode:

Leave a comment

Posted inAspose.BarCode Product Family
 

Related Articles