Zxing吧code源$ C $ C整合到Android项目 [英] Zxing barcode source code integration to the android project
问题描述
我想整合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
.
请参阅文章如何经由意图其它Android应用程序扫描吧code一>为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屋!