Zxing barcode camera options

孤者浪人 提交于 2019-12-05 14:47:59

No, there's no support for this, really. The APIs for requesting the front camera did not appear until Android 2.3 (I think?) and Barcode Scanner is on 1.5 right now, moving to 2.1 soon. Camera.open() opens the rear camera by default and will not select the front camera.

Barcode Scanner does have an option to reverse the camera image, since we're told that at least one tablet only has a front camera, and for anything to work you need to reverse the image.

I can tell you that the front camera on devices is much worse than the rear camera in general. its resolution and CCD responsiveness make it hard to scan this way.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!