01-29-2013 04:51 PM
Has anyone been able to compile the barcodescanner example? There seems to be a lot of things missing or misconfigured.
01-29-2013 05:10 PM
I just tried to compile it and it worked fine. There were these warning messages during compile:
WARNING: Failure to find: ../src/*.hpp
WARNING: Failure to find: ../src/*.h
WARNING: Failure to find: ../src/*.hpp
WARNING: Failure to find: ../src/*.h
Probable because there seems to be no .hpp or h files. only one main.cpp file.
If you look in its sub directory : barcodereader/arm/o.le-v7-g (assuming you did debug mode) you will see the executable
01-29-2013 05:18 PM
Bluenoser
I uploaded the app to the phone and found it to work. Not sure how practical a camera barcode scanner is. Seeing how RIM is in the enterprise space it would be nice to have a see a phone that could take a real bar code scanner as an attachment.
What do you say RIM ?
01-29-2013 05:28 PM
Yes. I got the barcodereader example to work, but the barcodescanner does not.
01-29-2013 05:31 PM
01-29-2013 08:53 PM
02-01-2013 11:13 AM
This appears to be because I forgot to include the translations/ directory when I added to project to GitHub. We should have it fixed shortly.
The BarcodeScanner sample shows you how to use the built in ZXing library to make the decoder yourself, and how to handle the preview frames coming from the camera. This would be useful if you wanted to, for example, scan inverted barcodes. It also shows you how to set up a custom component, and an invocation target.
If you just want to scan supported baracodes, the barcodereader sample is the way to go. Just tell it to scan the formats you want.