Skip to content

RAP 4.4 BarcodeScanner - only detects QR Codes #329

@JohnGymer

Description

@JohnGymer

I am making use of RAP 4.4's BarcodeScanner widget, which works for QR Codes, but does not appear to 'see' any other types of barcodes.

I added all possible types into the formats parameter:

` Formats[] fmts = new Formats[13];
fmts[0] = Formats.UPC_A;
fmts[1] = Formats.UPC_E;
fmts[2] = Formats.CODE_39;
fmts[3] = Formats.CODE_93;
fmts[4] = Formats.CODE_128;
fmts[5] = Formats.EAN_8;
fmts[6] = Formats.EAN_13;
fmts[7] = Formats.PDF_417;
fmts[8] = Formats.QR_CODE;
fmts[9] = Formats.AZTEC;
fmts[10] = Formats.ITF;
fmts[11] = Formats.DATA_MATRIX;
fmts[12] = Formats.CODABAR;

		scan.start(fmts);

`

How do I enable detection of normal barcodes, not just QR Codes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions