How to implement zooming feature with zxing barcode reading application?

送分小仙女□ 提交于 2019-12-06 10:55:09

问题


I'm having the zxing barcode reading application. I need to add zooming feature in the application, so that i can scan barcode from larger distance.

i.e. during scanning the barcode, it should be able to zoom the camera preview.

How can i do this?

Thanks.


回答1:


Zooming doesn't really help, because it's digital zoom. In fact it tends to hurt scanning. It only helps by making the user hold back further, but you can do that with other UI prompts. But, it's not hard to set zoom. You set whatever zoom you want in Camera.Parameters in CameraConfigurationManager.



来源:https://stackoverflow.com/questions/10169398/how-to-implement-zooming-feature-with-zxing-barcode-reading-application

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