Jan 12, 2011 Replies: 84 This is a library to read barcodes. It uses the Zxing app to do the scanning. If the Zxing app is not installed, the user is redirected to the Android market to download the app. Functions: ABGetBarcode (eventName as String, mode as String) Starts the barcode scanner. The barcode is returned in the BarcodeFound event or the Canceled event Params: eventName (String): name of the ABBarcode object (lowercase!) mode (String): "" for everything "QR_CODE_TYPES" for QR codes "PRODUCT_CODE_TYPES" for UPC_A,UPC_E,EAN_8,EAN_13 "ONE_D_CODE_TYPES" for UPC_A,UPC_E,EAN_8,EAN_13,CODE_39,CODE_93,CODE_128 Example: Code: Copy Sub Button1_Click myABBarcode.ABBarcodeGet("myABBarcode", "QR_CODE_TYPES") End Sub Sub myABBarcode_BarcodeFound(barCode as String, formatName as String) msgbox(barCode, "") End Sub Sub myABBarcode_Canceled msgbox("Canceled","") End Sub Attachments ABZxing.zip ABZxing.zip 6 KB · Views: 7,138 ABBarcodeTest.zip ABBarcodeTest.zip 5.7 KB · Views: 6,048 Last edited: Jan 12, 2011 Click to expand...
This is a library to read barcodes. It uses the Zxing app to do the scanning. If the Zxing app is not installed, the user is redirected to the Android market to download the app. Functions: ABGetBarcode (eventName as String, mode as String) Starts the barcode scanner. The barcode is returned in the BarcodeFound event or the Canceled event Params: eventName (String): name of the ABBarcode object (lowercase!) mode (String): "" for everything "QR_CODE_TYPES" for QR codes "PRODUCT_CODE_TYPES" for UPC_A,UPC_E,EAN_8,EAN_13 "ONE_D_CODE_TYPES" for UPC_A,UPC_E,EAN_8,EAN_13,CODE_39,CODE_93,CODE_128 Example: Code: Copy Sub Button1_Click myABBarcode.ABBarcodeGet("myABBarcode", "QR_CODE_TYPES") End Sub Sub myABBarcode_BarcodeFound(barCode as String, formatName as String) msgbox(barCode, "") End Sub Sub myABBarcode_Canceled msgbox("Canceled","") End Sub
LucaMs Expert Licensed User Longtime User Dec 22, 2013 #61 agraham said: I wrote a QuickMark library for Basic4ppc and looked at both Zxing and QuickMark for Basic4android and noticed they both accept the same Intents so I tried it, and sure enough it worked. Click to expand... (3 years later ) Sure, it works. (using QuickMark) And now, reading this thread for the first time (maybe) i have a doubt (almost a certainty). This is the first library that I used at the very beginning with B4A. Just because it worked for me with QuickMark, I did not spot the problem: if the user does not have Zxing nor QuickMark? May he use any scanner that has the same data return (Result Intent, it seems to me they are called so in Android), but I can not be certain that they still exist. Since I have the apk of QuickMark (downloaded from a different site, not from Google Play, so it should not have security keys, is there a way to attach it, when (finally) I will publish my app on Google?
agraham said: I wrote a QuickMark library for Basic4ppc and looked at both Zxing and QuickMark for Basic4android and noticed they both accept the same Intents so I tried it, and sure enough it worked. Click to expand... (3 years later ) Sure, it works. (using QuickMark) And now, reading this thread for the first time (maybe) i have a doubt (almost a certainty). This is the first library that I used at the very beginning with B4A. Just because it worked for me with QuickMark, I did not spot the problem: if the user does not have Zxing nor QuickMark? May he use any scanner that has the same data return (Result Intent, it seems to me they are called so in Android), but I can not be certain that they still exist. Since I have the apk of QuickMark (downloaded from a different site, not from Google Play, so it should not have security keys, is there a way to attach it, when (finally) I will publish my app on Google?
S sasidhar Active Member Licensed User Longtime User Feb 4, 2014 #62 klaus said: In the IDE, click on the Libs Tab in the lower right corner and check the desired libraries. Best regards. Click to expand... In IDE I could not see ABZxing library, how to add this library, please help..
klaus said: In the IDE, click on the Libs Tab in the lower right corner and check the desired libraries. Best regards. Click to expand... In IDE I could not see ABZxing library, how to add this library, please help..
LucaMs Expert Licensed User Longtime User Feb 4, 2014 #63 menu Tool - Configure Paths. You should set the path of your Additional libraries, then copy each of them there (with their xml file) http://www.b4x.com/android/forum/threads/abzxing-barcode-reader.7303/
menu Tool - Configure Paths. You should set the path of your Additional libraries, then copy each of them there (with their xml file) http://www.b4x.com/android/forum/threads/abzxing-barcode-reader.7303/
S sasidhar Active Member Licensed User Longtime User Feb 4, 2014 #64 LucaMs said: menu Tool - Configure Paths. You should set the path of your Additional libraries, then copy each of them there (with their xml file) http://www.b4x.com/android/forum/threads/abzxing-barcode-reader.7303/ Click to expand... Thanks, Able to load the library.
LucaMs said: menu Tool - Configure Paths. You should set the path of your Additional libraries, then copy each of them there (with their xml file) http://www.b4x.com/android/forum/threads/abzxing-barcode-reader.7303/ Click to expand... Thanks, Able to load the library.
westingenieria Active Member Licensed User Longtime User Mar 17, 2014 #65 quotidianvoid said: Is it possible to get this to work with Barcode Scanners or Accusoft Barcode Scanner? Neither QuickMark nor ZXing can read driver license PDF417 barcodes, but the two apps I listed can do so... Click to expand... hi, any solution?
quotidianvoid said: Is it possible to get this to work with Barcode Scanners or Accusoft Barcode Scanner? Neither QuickMark nor ZXing can read driver license PDF417 barcodes, but the two apps I listed can do so... Click to expand... hi, any solution?
NJDude Expert Licensed User Longtime User Mar 18, 2014 #66 This library can be used to read PDF417 barcodes, you have to check them in the ZXing app, under settings (assuming you have the latest version)
This library can be used to read PDF417 barcodes, you have to check them in the ZXing app, under settings (assuming you have the latest version)
westingenieria Active Member Licensed User Longtime User Mar 25, 2014 #67 NJDude said: This library can be used to read PDF417 barcodes, you have to check them in the ZXing app, under settings (assuming you have the latest version) Click to expand... in B4A? with library?
NJDude said: This library can be used to read PDF417 barcodes, you have to check them in the ZXing app, under settings (assuming you have the latest version) Click to expand... in B4A? with library?
Richard Goh Active Member Licensed User Longtime User Apr 22, 2014 #68 Hi, I downloaded the library and do a test on the program but I got null value return from myABBarcode_BarcodeFound(barCode As String, formatName As String) function. There is a successful scans barcode and barcode added indicator in the scanning screen. But I got null value returned from BarcodeFound function when I click on "Done" button. How can I get the scanned barcode list in my program?
Hi, I downloaded the library and do a test on the program but I got null value return from myABBarcode_BarcodeFound(barCode As String, formatName As String) function. There is a successful scans barcode and barcode added indicator in the scanning screen. But I got null value returned from BarcodeFound function when I click on "Done" button. How can I get the scanned barcode list in my program?
Roberto P. Well-Known Member Licensed User Longtime User May 27, 2014 #69 Ho cercato di usare la biblioteca e l'esempio di leggere il codice a barre, ma non funziona! qualcuno può aiutarmi? Allego foto della prova. grazie mille Attachments barcode.png 381.7 KB · Views: 748
Ho cercato di usare la biblioteca e l'esempio di leggere il codice a barre, ma non funziona! qualcuno può aiutarmi? Allego foto della prova. grazie mille
LucaMs Expert Licensed User Longtime User May 27, 2014 #70 Roberto P. said: Ho cercato di usare la biblioteca e l'esempio di leggere il codice a barre, ma non funziona! qualcuno può aiutarmi? Allego foto della prova. grazie mille Click to expand... ABZxing requires that the users has Zxing OR QuickMark app installed on their device. You could try ZXingLib
Roberto P. said: Ho cercato di usare la biblioteca e l'esempio di leggere il codice a barre, ma non funziona! qualcuno può aiutarmi? Allego foto della prova. grazie mille Click to expand... ABZxing requires that the users has Zxing OR QuickMark app installed on their device. You could try ZXingLib
Roberto P. Well-Known Member Licensed User Longtime User May 27, 2014 #71 maybe I do not understand something!? I downloaded the libraries, the demo program and installed the program in my barcode scanner device. I have to do? thank you very much
maybe I do not understand something!? I downloaded the libraries, the demo program and installed the program in my barcode scanner device. I have to do? thank you very much
LucaMs Expert Licensed User Longtime User May 27, 2014 #72 Install QuickMark or Zxing from Google Play. But using ZXingLib you would not need it.
Roberto P. Well-Known Member Licensed User Longtime User May 28, 2014 #73 Hello Lucas, As soon as I launched the demo program, asked me to download the ZXing to read the bar code. the program is launched and the mask appears to read the bar code, but can not read. if I cancel the operation, the message canceled, then it means that the sample program is able to communicate with the reading program. What's wrong? thank you very much
Hello Lucas, As soon as I launched the demo program, asked me to download the ZXing to read the bar code. the program is launched and the mask appears to read the bar code, but can not read. if I cancel the operation, the message canceled, then it means that the sample program is able to communicate with the reading program. What's wrong? thank you very much
LucaMs Expert Licensed User Longtime User May 28, 2014 #74 I don't know, sorry. I would uninstall ZXing and would install QuickMark. If this does not work, I would use ZXingLib, which can scare less the user, since it does not require additional installations and permissions.
I don't know, sorry. I would uninstall ZXing and would install QuickMark. If this does not work, I would use ZXingLib, which can scare less the user, since it does not require additional installations and permissions.
Mark Thorndyke Member Licensed User Longtime User Oct 1, 2014 #75 Quick hello from a newbie. Finding this and the article and others linked to QR Code and will be embedding in some more tests in the coming days. Question though, which has been the best out of Zxing, QuickMark and Google Goggles as the scanner (and embedding). It quick tests, all seem to work good for me, maybe prefer the scanning of Zxing with line/dots but landscape, hmmm. QuickMark feels more something I like and Google Goggles to me seems maybe the more likely for the end user to have ready on their phone (known product)
Quick hello from a newbie. Finding this and the article and others linked to QR Code and will be embedding in some more tests in the coming days. Question though, which has been the best out of Zxing, QuickMark and Google Goggles as the scanner (and embedding). It quick tests, all seem to work good for me, maybe prefer the scanning of Zxing with line/dots but landscape, hmmm. QuickMark feels more something I like and Google Goggles to me seems maybe the more likely for the end user to have ready on their phone (known product)
sirjo66 Well-Known Member Licensed User Longtime User Oct 19, 2014 #76 agraham said: This library will also work with QuickMark which you can download from the Android Market. Click to expand... QuickMark vs. ZXing: what is the better ??
agraham said: This library will also work with QuickMark which you can download from the Android Market. Click to expand... QuickMark vs. ZXing: what is the better ??
LucaMs Expert Licensed User Longtime User Oct 19, 2014 #77 QuickMark è praticamente perfetta, ma è un'app vera e propria che va installata sul dispositivo (quando usi ABZxing la cosa è automatica). Con ZXing devi fare qualche tentativo in più, ma in compenso non necessita di altro. QuickMark is almost perfect but it should be installed (it is an app; using ABZxing the procedure is automatic). With ZXing sometimes you need to retry the scanning, but it does not need other.
QuickMark è praticamente perfetta, ma è un'app vera e propria che va installata sul dispositivo (quando usi ABZxing la cosa è automatica). Con ZXing devi fare qualche tentativo in più, ma in compenso non necessita di altro. QuickMark is almost perfect but it should be installed (it is an app; using ABZxing the procedure is automatic). With ZXing sometimes you need to retry the scanning, but it does not need other.
C Christopher Brown Member Licensed User Longtime User Apr 2, 2015 #78 ABGetBarCode (as shown below Function) or ABBarcodeGet as listed in example? (This is the first library I've looked at downloading since registering, so be gentle with me!)
ABGetBarCode (as shown below Function) or ABBarcodeGet as listed in example? (This is the first library I've looked at downloading since registering, so be gentle with me!)
C Christopher Brown Member Licensed User Longtime User Apr 2, 2015 #79 After a lot of messing around, I've got a rectangle on screen. Has the barcode got to be aligned to that rectangle every single time? Is there no scanner that will pick up any angle to camera? I can't get my device to do anything. One red line, and an occassional yellow dot and that's it. What happens if it makes a successful scan? (I can't find anything to adjust camera settings to allow autofocus / close setting - but that's probably my PIPO device)
After a lot of messing around, I've got a rectangle on screen. Has the barcode got to be aligned to that rectangle every single time? Is there no scanner that will pick up any angle to camera? I can't get my device to do anything. One red line, and an occassional yellow dot and that's it. What happens if it makes a successful scan? (I can't find anything to adjust camera settings to allow autofocus / close setting - but that's probably my PIPO device)
B BluSky76 Member Licensed User Longtime User Jun 14, 2015 #80 Black screen on Asus (Android 4.4.2) tablet. Only flashing green line?