New issue 1159 by wil...@gmail.com: Latest barcode scanner on market will
not scan upc or qr codes on Samsung Galaxy Tab
http://code.google.com/p/zxing/issues/detail?id=1159
IMPORTANT: Please don't ask questions by filing bugs. Instead, send an
email to zx...@googlegroups.com.
What steps will reproduce the problem?
1. Update to new version from android market
2. Attempt to scan upc & qr codes
3. Barcodes are not recognized, and not scanned.
What is the expected output? What do you see instead?
Barcodes to scan, scan window appears but dose not detect barcodes
What version of the product are you using? On what operating system?
Version 4.0
Build number: FROYO.UVJJB
Kernel version: 2.6.32.9 may.park@SEP-08 #1
Firmware version: 2.2
Model Number: SGH-T849
Please provide any additional information below.
From the comments it looks like im not the only one haveing issues with
this update. Rolling back to previous version fixes my issues.
I just posted my latest debug build. You might give it a shot. I think this
is just yet another device bug but if it's anything like the Optimus bug
(ie camera fails on some preview sizes) this might happen to also work
around it.
http://code.google.com/p/zxing/downloads/detail?name=BarcodeScanner-debug.apk
No such luck, not seeing any differences.
Not sure then, it works OK on my tablet. If you can post any other info
like suspicious-looking info from the logs, that might be a start.
Not sure where to post this, but wanted to confirm that the
BarcodeScanner-debug.apk that was posted here DOES fix the issue with the
Optimus.
Yup, definitely, it selects the screen size rather than a higher
resolution, which works around the Optimus bug. It's a shame as otherwise
you could use a little more resolution for scanning on the Optimus, which
helps a bit.
Comment #6 on issue 1159 by srowen: Latest barcode scanner on market will
not scan upc or qr codes on Samsung Galaxy Tab
http://code.google.com/p/zxing/issues/detail?id=1159
Marking this as fixed since the 4.1 workaround happens to address this too.
I tried "Barcode Scanner 4.1 beta 1 for Android" on Galaxy tab 7 inch and
still camera not working. Following is the information about tab I used:
Build number: FROYO.DDJK3
Kernel version: 2.6.32.9 root@SE-S605 #4
Firmware version: 2.2
Model Number: GT-P1000
I tried "Barcode Scanner 4.1 beta 1 for Android" on Galaxy tab 7 inch and
still facing same issue. Following is the information about tab I used:
I request you to re-open the issue.
Waiting for ver 4.1 with fingers crossed.
There's no more info here though about the problem... I don't have a Galaxy
Tab but it works on other tablets so suspect it is yet another device bug.
I have a Galaxy Tab with the following configuration and the just released
Barcode Scanner 4.1 can't read any code:
Build number: FROYO.VJJM9
Kernel version: 2.6.32.9 root@SEP-52 #1
Firmware version: 2.2
Model Number: GT-P1000L
Note: Barcode Scanner 3.72 works well
> I have a Galaxy Tab and the just released Barcode Scanner 4.1 can't read
> any code
Sometimes setting the preview size does not work on this device, even if
the chosen size appears to be valid. The solution I found was to re-read
the preview size from the camera API parameters when the preview image
callback is invoked, and to not assume that the size requested is still
being used.
I think there is a bug in 'CameraConfigurationManager' MAX_PREVIEW_PIXELS
constant,
changing the value from '854x480' to '1024x600' worked for my device.
I've attached a patch with that change.
Attachments:
CameraConfigurationManager.java.patch 778 bytes
That's definitely not a bug - it's supposed to limit the preview size so
you're not scanning more pixels than are useful to scan.
That's ok. But the given 'limit' does not work for Galaxy Tab
It has no preview mode smaller than that limit? then it will just default
to whatever the default is. In any event it should still roughly work.
Is there a list of such resolutions? It would help me to find the optimal
one.
Run the ZXingTest app and it can dump all the camera's parameters and
settings, including supported preview sizes.
Nice. I will check it as soon as I could.
Srown,
The supported preview sizes for my Galaxy Tab are the following (the full
dump is attached):
preview-size-values=800x600,1024x600,320x240
preview-size=800x600
We've tried with 'MAX_PREVIEW_PIXELS = 800x600' and it does'nt worked.
However, if I change the 'findBestPreviewSizeValue' method to return a
hardcoded 'Point(800,600)' it does work.
Attachments:
dump.txt 1.8 KB