Android Example [B4X] [B4XPages] Barcode Reader

Status
Not open for further replies.
1595341203504.png
i_view64_HkncBfNNKe.png


B4A + B4i barcode reader.

Don't miss:

- #PlistExtra in B4i.
- Manifest code + #AdditionalJar in B4A

Depends on BCToast: https://www.b4x.com/android/forum/t...platform-custom-toast-message.111046/#content
(BCToast will be an internal library in the near future)

While the camera related code is platform specific, the main program logic can still be shared. In this case there isn't too much logic but in real usage the benefit of implementing it like this will be higher.

Requires Android 5+.

Supported formats:
B4A - https://developers.google.com/andro...d/gms/vision/barcode/Barcode#constant-summary
B4i - TYPE_QR, TYPE_UPCE, TYPE_39, TYPE_39Mod43, TYPE_EAN13, TYPE_EAN8, TYPE_93, TYPE_128, TYPE_PDF417

Updates:

B4i iBarcode v1.21 - Adds support for setting the scan window: https://www.b4x.com/android/forum/threads/ibarcode-library.47354/post-836360
 

Attachments

  • BarcodeReader.zip
    183.5 KB · Views: 1,423
Last edited:
Status
Not open for further replies.
Top