Hi,
I can not scan a barcode-128 from the App.
If i use the scan software (Barcode Scanner + Simple) direct from the keyboard input, everything works fine. The scan software alone works also fine. (and scan the barcode directly, without any problems).
If the user click on the textfield i start the CodeScannerInstance like ...
if (CodeScanner.getInstance() != null) {
CodeScanner.getInstance().scanBarCode(new ScanResult() {
public void scanCompleted(String contents, String formatName, byte[] rawBytes) {
huTf.get(hu).setText(contents);
huTf.get(hu).getParent().revalidate();
if (hu < 9) {
int nextHu = hu + 1;
}
}
public void scanCanceled() {
System.out.println("cancelled");
}
public void scanError(int errorCode, String message) {
Dialog.show("Scann Fehler", message, "OK", null);
}
});
} else {
Dialog.show("barcodeScanner nicht gefunden", "barcodeScanner nicht gefunden", "OK", null);
}
}
the scan software starts but i can not scan the barcode.
other kind of barcodes works fine also by using the app functinality show above.
Thanks for helping
Tobias
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: Eclipse
Win 10
Simulator
Device Android