B4A Library ZXingLib(integration version)by icefairy333

korshkov

Member
Licensed User
Longtime User
To icefairy333:
Do you possible add function "DecodeBitmap" in this library (without call activity)?
from Java example:
B4X:
Reader reader = new MultiFormatReader();
      try {

          Result result = reader.decode(bitmap);
          String contents = result.getText();
              byte[] rawBytes = result.getRawBytes();
              BarcodeFormat format = result.getBarcodeFormat();
              ResultPoint[] points = result.getResultPoints();

Very BIG THANKS for you support.
 

ernschd

Active Member
Licensed User
Longtime User
Hi,

is it possible to enable the flashlight of the camera?
Or maybe you could post the current sources of the library so i can take a look on it?

Thank you and regards.
 

CegedimIndia

New Member
Licensed User
Longtime User
Hi,

Have used B4AZxing to scan the barcode. It works perfectly when I try to scan all barcodes except for one set of barcodes where it just keeps trying to capture but doesnt actually capture. I just see the red line and yellow dots keep trying to focus. Any help/inputs is really appreciated.

Thanks
 

Beja

Expert
Licensed User
Longtime User
hi icefairy333 and thanks for this good job!

Just tested it on my Huawei Y301A1.
B4A interface is gone, which means I was no more inside B4A. and the scanning bar appeared normally.
but it is evident that the module is not integrated with B4A.
Rule: If the activity title disappears, and the scanner interface fills the whole screen, then you are no more
in B4A.
 

LucaMs

Expert
Licensed User
Longtime User
Could someone explain to me these "fields"?

Fields:
  • isportrait As Boolean
  • useFrontCam As Boolean

After the dot "on" the object I see only the BeginScan method.

Also, if I put "Portrait" in the manifest file, scan works, but having to turn the smartphone 90°
 

qsrtech

Active Member
Licensed User
Longtime User
have you got the latest library version?
 

LucaMs

Expert
Licensed User
Longtime User
I did (download again)



Only BeginScan method, so what are the:

Fields:
  • isportrait As Boolean
  • useFrontCam As Boolean
?

My app uses the library ABZxing, but it forces the user to install this or QuickMark.

If b4aZXing worked in portrait mode, I would avoid this problem
 

touchsquid

Active Member
Licensed User
Longtime User
I have just donated $50 to you. Thanks for your work.

On my phone, the test app shows a black screen and nothing else. No errors but the result sub is never fired.

This is an HTC One running Android 4.4.2 I will try a different device.
 

touchsquid

Active Member
Licensed User
Longtime User
I tried it on a Galaxy S4 running Android 4.3 and it works just fine. The barcode window is a bit small so alignment is tricky but the result is correct. Thank you so much for your hard work on this. I hope others who use your libraries have been making donations too!
 

touchsquid

Active Member
Licensed User
Longtime User
How do I get it to work in portrait mode? If I set "portrait" in the manifest, the scan window is rotated, and so is the picture so the barcodes are distorted.

Can this be fixed?
 

touchsquid

Active Member
Licensed User
Longtime User
Hi Icefairy,

If I set the manifest to "portrait" and isportrait to TRUE then the screen looks OK. But codes that scan fine in landscape will not scan at all in portrait. Can you help?
 

qsrtech

Active Member
Licensed User
Longtime User
Your version is showing 1.2
 

LucaMs

Expert
Licensed User
Longtime User
Now I am sure to use the 1.5.

In the code I used IsPortrait = true
In the Manifest I tried using:
Android:screenOrientation = "portrait"
The scan looks like portrait, but the code is only returned by rotating the bar code to be scanned.

I also tried leaving "landscape" in the manifest and completely eliminating this attribute, but I have not solved.
 

Douglas Farias

Expert
Licensed User
Longtime User
anyone fixed the problem at the Nexus ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…