[英]Integrating Zxing 1.7 into Android app
I have compiled the Zxing core.jar and I have already added it to my Eclipse project, but I'm having trouble while trying to use the Zxing libraries I don't know where to start from. 我已经编译了Zxing core.jar,并且已经将其添加到Eclipse项目中,但是在尝试使用我不知道从哪里开始的Zxing库时遇到了麻烦。 What I would like to do is to scan QR Codes directly from the device's camera.
我想做的是直接从设备的相机扫描QR码。 My actual app does show the camera preview in a SurfaceView, but it doesn't scan anything.
我的实际应用程序确实在SurfaceView中显示了相机预览,但没有扫描任何内容。
My question is how to actually scan from the camera? 我的问题是如何从相机实际扫描? Without using the Zxing intent mechanism, I would like to embed Zxing directly into my project.
在不使用Zxing意向机制的情况下,我想将Zxing直接嵌入到我的项目中。
I'm a newbie, I would appreciate any kind of help you can provide me: code, links , etc. Thanks in advance. 我是新手,希望您能为我提供任何帮助:代码,链接等。在此先感谢您。
The project has complete source code for Barcode Scanner in android/
. 该项目在
android/
具有Barcode Scanner的完整源代码。 You can just reference this. 您可以参考一下。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.