B4A Example [B4X] [B4XPages] Barcode Reader - Erel    
Jul 12, 2021   
(41 reactions)97444 https://www.b4x.com/basic4android/images/i_view64_HkncBfNNKe.png
B4A + B4i barcode reader.
Don't miss:
- #PlistExtra in B4i.
- Manifest code + #AdditionalJar in B4A
Depends on BCToast.../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...
link: Updated B4A project for compatibility with R8 optimizer. Note the new #AdditionalJar....
B4A Library Barcode reader based on Google Play Services Vision - Erel    
Jul 18, 2024   
(20 reactions)   
tags: Barcode, B4A Barcode reader GOODBetter solution: https://www.b4x.com/android/forum/threads/160725/#content
This is not really a library. It is a modification to CameraEx example that adds barcode detection based on Google Play Services Vision. It uses JavaObject to create the detector and detect barcodes in the Preview event.../google/android/gms/vision/barcode/Barcode#constant-summary
The implementation is quite simplistic....google.android.gms.vision.DEPENDENCIES"
android:value="barcode" />
...
B4A Library 1D and 2D Barcode Scanner with ZXING - another Barcode Scanner that is 100% embedded in B4A - Johan Schoeman    
Oct 6, 2024   
(35 reactions)   
tags: Core, BC, Zxing, barcodeThe attached project wraps the ZXING part of this Github project. I have not tested all the barcode formats but it should scan the following types:
BarcodeFormat.UPC_A
BarcodeFormat.UPC_E...
link:
Sorry, I know this is an old post, but I would like to know which file(s) I should download to be a...
link: Sorry, I know this is an old post, but I would like to know which file(s) I should download to be ab...
link: -live-scan-of-1d-and-2d-barcodes.116227/post-726144
Do you think is better to use it like this ?...
B4A Library [class] Google Code Scanner - no permission, very simple to use, barcode scanning - Erel    
Jul 18, 2024   
(32 reactions)This solution is based on ML Kit (https://developers.google.com/ml-kit/vision/barcode-scanning/code-scanner).
Instructions:
1. Add to main module:
#AdditionalJar: com.google.android.gms:play-services-code-scanner
#MultiDex: True
2. Add to manifest editor:
CreateResourceFromFile(Macro...
android:value="barcode_ui"/>
<activity
android:name="com.google.mlkit.vision.codescanner.internal.GmsBarcodeScanningDelegateActivity"
android:exported...
B4J Code Snippet [PyBridge] Create barcodes - Erel    
Feb 16, 2025   
(12 reactions)Based on: https://python-barcode.readthedocs.io/en/stable/getting-started.html
Usage:
Wait For (CreateBarcode("code128", "abcdef")) Complete (Result As B4XBitmap)
ImageView1.SetBitmap(Result)
'dependencies: pip install python-barcode "python-barcode"
'Types:
Private Sub CreateBarcode (CodeType As String, Code As String) As ResumableSub
Dim BytesIO As PyWrapper = Py.ImportModuleFrom("io", "BytesIO")
Dim Barcode As PyWrapper...
B4A Library ZXingLib by icefairy333 - modified by Johan Schoeman (Scan QR Codes and other 1D/2D Barcodes) - Johan Schoeman    
Nov 24, 2021   
(38 reactions)   
tags: Buildin, ZXingLib, Erel, Barcode31000
See the attached project (with library files in the /files folder of the project). This is based on the original work of @icefairy333. I have modified @icefairy333's library so that it ca...
link: In case someone else needs it also, in order for the library (1.06) to work with the new R8 dexing requirements for android, you must add this in the manifest:
AddProguardText(
-keep class ice.zx...
B4A Library [B4X] barcodeGenerator - Cross platform Barcode code generator - Lucas Siqueira    
May 8, 2023   
(21 reactions)codeBarGenerator is a class that generates barcodes.
It is written in B4X and is compatible with B4A, B4i and B4J.
At the moment the class only generates barcode in EAN13, UPC-A and CODE128-B...
link:
Before I go search, can you point to me where do you get the logic to generate the barcodes...
link: Thanks.
When I free I will see if I can add other formats....
link:
Lol completely coincidentally I was just regenerating a loyalty card barcode this evening to print...
B4i Question Save iBarcode preview as a bitmap? - JackKirk    
Mar 9, 2016Is it possible to save the iBarcode preview as a bitmap?
I have tried code of the form:
Private temp_imageview As ImageView
Private temp_rect As Rect
Private temp_bmp As Bitmap
Private temp_canvas As Canvas
temp_imageview.Initialize("")
Page1.RootPanel.AddView(temp_imageview, 0, 0... I have initialized the barcode scanner instance to.
I get a photo which shows all the other views I have dumped into the scanner_panel but no barcode preview.
Thanks in anticipation......
B4J Library [PyBridge] QRCodes and barcodes scanning with pyzbar - Erel    
Jun 25, 2025   
(7 reactions) decoded2.Value.As(List)
Dim r() As Object = d(2)
res.Add(CreateDecodedBarcode(d... barcodes.
Note that for some of the codes, the width returned is 0.
This can also be used in server...
B4i Library iBarcode library - Erel    
May 17, 2018   
(20 reactions)This library allows you to use the device camera to scan for all kinds of barcodes.
It is based on this open source project: https://github.com/mikebuss/MTBBarcodeScanner
License: https://github.com/mikebuss/MTBBarcodeScanner/blob/master/LICENSE
The attached example demonstrates how to use this library.
The main steps are:
1. Initialize the BarcodeScanner and set the preview panel.
2. In...</key><string>Read barcodes</string>
...
Page: 1  
2  
3  
4  
5  
6  
7