B4A + B4i barcode reader.
- #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+.
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
B4i iBarcode v1.21 - Adds support for setting the scan window: https://www.b4x.com/android/forum/threads/ibarcode-library.47354/post-836360