Zxing吧code源$ C ​​$ C整合到Android项目 [英] Zxing barcode source code integration to the android project

查看:131
本文介绍了Zxing吧code源$ C ​​$ C整合到Android项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想整合zxing源$ C ​​$ C到我的android应用。我已经下载了zxing1.5和整合整个code到我的申请,我调用活动CaptureActivity通过意图。它被示出仅在相机视图,但它不是在扫描杆code。 u能告诉我如何解决这个问题,因为我想我的应用程序是独立的。我不想单独安装吧codeScanner.apk的设备。

I want to integrate the zxing source code to my android application. I have downloaded the zxing1.5 and integrate the whole code to my application and i am calling the activity "CaptureActivity" through intent. It is showing only the camera view but it is not scanning the barcode. Can u please tell me how to solve this problem because i want my application to be stand alone. i don't want to install BarcodeScanner.apk separately in the device.

在此先感谢....

推荐答案

我不认为 CaptureActivity 是你想要的 - 相反,你应该使用 com.google.zxing.client.android.SCAN

I don't think CaptureActivity is what you want - instead, you should be using com.google.zxing.client.android.SCAN.

请参阅文章如何经由意图为code样品,并链接到更多的相关文章。

See the article How to scan a barcode from another Android application via Intents for code samples, and links to further related articles.

这篇关于Zxing吧code源$ C ​​$ C整合到Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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