08-23-2011 06:07 AM - edited 08-23-2011 06:24 AM
Don't you just LOVE googling for a problematic problem, and then finding a thread like this there where everybody is just going "help me help me".?
ANYWAY, we are having the same problem. Sample code works fine with 2D QR code, but 1D scanning fails completely.
Some googling led me to this:
The last link hints that a potential problem might be a lack of an autofocus camera....
Anybody else having any luck?
08-23-2011 11:21 AM
09-03-2011 05:14 AM
MWhahaahaha....we got it working with a left-sided approach.
I discovered that the RIM provided build of Eclipse (Helios) has a "Import Samples" button (by accident).
So I tried it.
Lo and behold, there was a barcode scanner sample (for QR Codes) that Worked.
So, I just added BarcodeFormat hints for Code128 etc, and viola, magic in the water.
- only works on real OS6 devices (i.e. NOT simulator with webcam)
- the main magic seems to be in the way the camera view finder was intialized (looking at the non-working code we had, and the working sample code)
- The sample app spazes out spectaculary on 9900 (OS7). When the viewfinder is opened, it zooms to max, and goes grey scale. Probably this will be fixed in future builds of OS7.
- I don't care about OS7 right now
OS5.0 is a potential issues going forward, but I will burn that bridge when I come to it (have been reading up on the forums etc).
09-03-2011 07:54 AM - edited 09-03-2011 07:56 AM
6.0 = Yes.
5.0 = blech, that still is a problem.
I suspect also that the continous scanning (auto scanning) might not be entirely feasible on OS5.0 devices in anyway, since the camera hardware will probably be lower spec (this is speculation on my part though).
One funny thing we did notice - image orientation on the torch (9800, OS6.0). The image we fed into the barcode scanning code was actually rotated by 90 degrees. So just one more little thing to watch out for.
IF and when we ever get barcode scanning to work on OS5.0, I will post some results (if possible). In the meanwhile, I have come accross threads (RIM forums) where people allegedly got things working on OS5.0 (not auto scanning though) .
06-19-2012 11:33 PM
I am getting autofocus feature failed in bold 9930 V7.1.
The scan image goes blurr & night mode, so it takes a while scanning in this device.
is this a known problem? did anybody get a fix?