zxing二维码扫描器中独特的取景矩形尺寸
我是安卓初学者。我正在构建一个使用 QR 码的应用程序。我从链接 http://code.google.com/p/zxing/downloads/list。当我尝试使用不同的设备加载应用程序时,我发现框架矩形在不同的位置具有不同的尺寸,不适合设备。请任何人帮我解决这个问题!对此的建议是值得重视的。我真的很需要帮助,有人可以尽快帮助我吗?
I am a beginner to android. I am building an application to work with QR code.i downloaded the source code for zxing1.5 from the link http://code.google.com/p/zxing/downloads/list. When i try to load application with different devices i found that the framing rectangle to be in various sizes in different place,unfit to the device. please can anyone help me with this!!! Suggestion on this is appreciable. I am in real help, can anyone help me out sooner..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该区域的大小由
CameraManager
确定,并在ViewfinderView
中绘制。它基于设备报告的显示器尺寸。如果看起来有问题,可能是因为设备在这方面的行为不正确。您需要进行调试才能确定设备问题到底是什么。The size of this area is determined in
CameraManager
and is drawn inViewfinderView
. It is based on the size of the display that the device reports. If it looks wrong, it is probably because the device is behaving incorrectly in this regard. You would need to debug to determine what exactly the device issue is.