01-17-2011 06:06 AM - edited 01-17-2011 06:28 AM
03-11-2011 12:04 PM
I have the same problem, but I need for OS 4.5, which is still more difficult since there's no way to control camera inside the application, so I depend on the balckberry built-in camera application.
To have the ZXing code compiling and running in os previous to 5.0 you should comment some lines in ZXing source code, becasue os prior to 5.0 does not include some part of the j2me that's needed for ZXing.
Anyway after doing that, I tried running but I got a runtime error: ArithmeticException.
If you any solution or a bettter library to do qr scanning in balckberry os 4.x, please let me know.
I'm looking forward for a solution.
04-13-2011 02:46 PM
I've successfully used ZXING with OS 4.6 and 5.0.
The example provided for BlackBerry with ZXing assumes that users will capture an image of the QR code which will be decoded. I've used an alternative approach that automates capturing the image and actually captures several images for scanning. If you send me a message with your email I'll be glad to share the code with you. Its too much to share it here