我想整合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.