java - 关于 Zxing for Android 的问题

标签 java android qr-code zxing

在 J2ME 中使用 Zxing 我有:

MonochromeBitmapSource source = new LCDUIImageMonochromeBitmapSource(bitmapFile);

我在 Android 中使用 Zxing 时没有任何问题,除了在这种情况下,我不知道如何创建 MonochromeBitmapSource,因为没有 LCDUI.... 类。

有什么提示吗?

谢谢!

最佳答案

android/模块中找到PlanarYUVLuminanceSource。这是 Android 的对应版本。

关于java - 关于 Zxing for Android 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5082823/

相关文章:

java - 网络适​​配器无法建立连接DSRA0010E : SQL State = null, 错误代码 = 17,002″

swift - 将 UIImage 转换为 CIImage 时,UIImage 的 QR 码检测失败

woocommerce - 嵌入代码以在 Woocommerce 电子邮件或列表中显示二维码

java - @ApiResponse 响应主体为空(Spring Boot)

java - Hibernate criteria查询,仅过滤子类实体

android - 如何检测是否有东西在 onTouch() 之外触摸/不触摸屏幕?

android - 如何检查cordova/phonegap项目的cordova android版本?

barcode - 如何将我们ZPL码中的条码改成二维码?

Android Studio 中的 java.lang.illegalArgumentException

android - 如何将 Android 应用程序添加到已在 iOS 应用程序中使用的现有 Firebase 项目?