As I am not an experienced Android developer, I don't know if you can talk back and forth between applications due to sandboxing. However, there is a barcode scanner called zxing which is "an open-source, multi-format 1D/2D barcode image processing library implemented in Java. Our focus is on using the built-in camera on mobile phones to photograph and decode barcodes on the device, without communicating with a server."
Seems pretty solid, so I would recommend using that.
发布评论
评论(4)
以下是用于扫描条形码的第三方库的示例:https:// github.com/zxing/zxing/wiki/Scanning-Via-Intent
Here is an example of a third-party library for scanning barcodes: https://github.com/zxing/zxing/wiki/Scanning-Via-Intent
由于我不是经验丰富的 Android 开发人员,我不知道是否可以通过沙箱在应用程序之间来回交谈。不过,有一个名为 zxing 的条形码扫描仪,它是“一款开源、多用途的”用 Java 实现的格式一维/二维条形码图像处理库,我们的重点是使用手机上的内置摄像头拍摄和解码设备上的条形码,而无需与服务器通信。”
看起来很可靠,所以我建议使用它。
As I am not an experienced Android developer, I don't know if you can talk back and forth between applications due to sandboxing. However, there is a barcode scanner called zxing which is "an open-source, multi-format 1D/2D barcode image processing library implemented in Java. Our focus is on using the built-in camera on mobile phones to photograph and decode barcodes on the device, without communicating with a server."
Seems pretty solid, so I would recommend using that.
Android 有自己的条形码 api
http ://android-developers.blogspot.com/2015/08/barcode-detection-in-google-play.html?linkId=16316033
https://search-codelabs.appspot.com/codelabs/bar-codes#1
Android has its own barcode api
http://android-developers.blogspot.com/2015/08/barcode-detection-in-google-play.html?linkId=16316033
https://search-codelabs.appspot.com/codelabs/bar-codes#1
如果您更喜欢使用 App Inventor 创建应用程序,可以使用基于 ZXing 库的条形码模块:http://appinventor.googlelabs.com/learn/reference/components/other.html#BarcodeScanner
If you are more comfortable creating apps using App Inventor, there is a barcode module based off of the ZXing library: http://appinventor.googlelabs.com/learn/reference/components/other.html#BarcodeScanner