如何扫描活模式QR code在黑莓OS 5 [英] How to scan a QR code in live mode in Blackberry OS 5

查看:151
本文介绍了如何扫描活模式QR code在黑莓OS 5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谷歌Zxing期望的图像。有人能指出我如何使它现场扫描工作干净(即用户点设备在QR code和扫描发生;用户没有拍摄图像)?我遇到以下两个方面:

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:


  1. 某些线程建议使用计时器和事件注入不断拍照 - 但这种做法可能会招致设备上的开销太大

  2. 其他一些线程表明,现场扫描从OS 6及以上作为RIM不公开的操作系统版本这些API低于6唯一可能的 - 但我无法找到此效果的任何官方声明

除了Zxing任何其他库,以实现BB OS 5?

Other than Zxing are any other libraries to achieve the same for BB OS 5?

在此先感谢

推荐答案

这个库允许你做OS5 现场扫描。它的工作原理是,以斑马线库的接口。

This library allows you to do live scanning on OS5. It works as an interface to the ZXing library.

但需要注意的是在OS5设备 FocusControl 未完全实现的,因此在扫描棒codeS近距离将是有问题的。解决方法是使用 VideoControl.getSnapshot()这是迫使相机对焦的唯一途径。

Be warned, however that on OS5 devices FocusControl is not fully implemented so scanning barcodes up close will be problematic. The workaround is to use VideoControl.getSnapshot() which is the only way to force the camera to focus.

这篇关于如何扫描活模式QR code在黑莓OS 5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆