Browse our Products

Aspose.BarCode for Android via Java 25.10

All Changes

KeySummaryCategory
BARCODENET-39385Improve Aztec recognition performance on mobile devicesEnhancement
BARCODENET-39397Optimize 2D barcode recognition, change the recognition algorithm of GS1CompositeBarEnhancement

Aztec Code recognition performance

Aztec Code barcode recognition performance has been enhanced, with better results in document processing scenarios.

public void readAztecExample()
{
    BarCodeReader reader = new BarCodeReader(folderPath + "Aztec.png", DecodeType.AZTEC);
    for (BarCodeResult result : reader.readBarCodes())
    {
        Log.d("ReadAztecBarcode","CodeText: " + result.getCodeText());
        Log.d("ReadAztecBarcode","CodeType: " + result.getCodeTypeName());
    }
}

GS1 Composite Barcode recognition process

GS1 Composite Barcode recognition process has been updated to eliminate delays when using DecodeType.Types2D.

public void GS1CompositeBarExample()
{
    BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.GS_1_COMPOSITE_BAR, "(01)13112345678906|(17)010615(10)A123456");

    gen.getParameters().getBarcode().getGS1CompositeBar().setLinearComponentType(EncodeTypes.GS_1_CODE_128);
    gen.getParameters().getBarcode().getGS1CompositeBar().setTwoDComponentType(TwoDComponentType.CC_C);
    gen.getParameters().getBarcode().getGS1CompositeBar().setAllowOnlyGS1Encoding(true);
    gen.getParameters().getBarcode().getCodeTextParameters().setLocation(CodeLocation.NONE);

    BarCodeReader reader = new BarCodeReader(gen.generateBarCodeImage(), DecodeType.GS_1_COMPOSITE_BAR);

    for (BarCodeResult result : reader.readBarCodes())
    {
        Log.d("GS1CompositeBarExample","CodeText: " + result.getCodeText());
        Log.d("GS1CompositeBarExample","CodeType: " + result.getCodeTypeName());
    }
}

Public API changes and backwards compatibility

No changes in this release.