Google Zxing expects an image. Can someone point me to how to make it work cleanly for live scanning (i.e. user points the device at a QR code and the scan happens; user does not have to take an image)? I’ve come across the following two aspects:
- Some threads suggested to use a timer and event injection to continuously take pictures – but this approach may incur too much overhead on the device
- Some other threads have suggested that live scanning is only possible from OS 6 and above as RIM doesn’t expose those APIs in OS versions below 6 – but I’m unable to find any official statement to this effect.
Other than Zxing are any other libraries to achieve the same for BB OS 5?
Thanks in advance
This library allows you to do live scanning on OS5. It works as an interface to the ZXing library.
Be warned, however that on OS5 devices
FocusControlis not fully implemented so scanning barcodes up close will be problematic. The workaround is to useVideoControl.getSnapshot()which is the only way to force the camera to focus.