B4A Library ZXingLib(integration version)by icefairy333

incendio

Well-Known Member
Licensed User
Longtime User
Able to do multiple scan in one shot without significant delay.

Calling again BeginScan caused a delay.
 

Sytek

Active Member
Licensed User
Longtime User

Tested on a Dell Venue 8" Works just Fine with the 1.2 Version Library in both cameras
Best Regards!
 

AHilton

Active Member
Licensed User
Longtime User


Got my hands on one and I'll answer my own question and say, "yes", the Moto G does work.
 

adastra

Member
Licensed User
Longtime User
i have used the library b4a Zxing but it does not scan barcode. only shows red line and yellow dot.
 

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Hey Ice, Can you put this parameters in your library like optional?

zx.SetJpegQuality(90)
zx.SetPreviewFpsRange(30000, 30000)
zx.SetPreviewSize(640, 360)

I need this to work with GOOGLE GLASS....

I put this in CAMERAEX (from EREL) and work perfectly

Sub Camera1_Ready (Success As Boolean)

If Success Then
camEx.SetJpegQuality(90)
camEx.SetPreviewFpsRange(30000, 30000)
camEx.SetPreviewSize(640, 360)
camEx.CommitParameters
 

Douglas Farias

Expert
Licensed User
Longtime User
@icefairy333 its possible add cancel event?
when qr code reader is opned and user press back key *-*
show canceled
 

Johan Schoeman

Expert
Licensed User
Longtime User


Hi Jon

This is brilliant! Between you and @icefairy333 - well done! It works perfectly!
 

Dr. Guaranexx

New Member
Licensed User
Longtime User
This library is a great addition, and has been very useful. I am currently using this library to read a QR code on employee ID cards using the front-facing camera, and it is working well for the most part. However, I am running into an issue where the scanner cannot read the QR codes very well in darker environments. I believe that if the frame surrounding the scanning area were turned into a lighter color, the tablet screen would emit enough light to help illuminate the QR code better. Is there a way that the setting for the surrounding frame could be modified through B4A?

I took a quick look through the b4aZxing library source files, and it appears that this could be changed within the ViewfinderView object constructor method in the src\ice\zxing\view\ViewfinderView.java file in the following line of code:

maskColor=Color.argb(96, 0, 0, 0);

Unfortunately, I am far from being a Java expert, and have been unsuccessful in regenerating the Jar file. Any help would be greatly appreciated!

Edit:
It looks like only the source to v1.2 of the library is provided. Since the ability to use the front-facing camera was added in v1.5, any modifications made to the library will need to be made to v1.5 Hopefully icefairy will have some time to upload the source code to v1.5 soon.
 
Last edited:

AHilton

Active Member
Licensed User
Longtime User
Icefairy333,

I'd like to talk with you about this library. If you could contact me when you have just a moment, I'd appreciate it. Thanks.
 

antyca

Member
Licensed User
Longtime User
Hi icefairy333

how to activate the camera flash to read a code correctly if the light level is low?

Thank
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…