扫描能力您可参考此链接https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/scan-arkts-V5使用QRCode解析的扫码demo:https://gitee.com/openharmony/applications\_app\_samples/tree/master/code/BasicFeature/Media/QRCodeScan\#/openharmony/applications\_app\_samples/blob/master/code/BasicFeature/Media/QRCodeScan/Feature/src/main/ets/qrcodescan/QRCodeParser.ets使用Scan Kit(统一扫码服务)中的自定义界面扫码能力实现demo:https://gitee.com/harmonyos\_samples/multi-mobile-payment或者参考下面代码:https://gitee.com/yujianjianghu/harmony\_scanhttps://blog.csdn.net/caojie7928/article/details/139292912
扫描能力您可参考此链接
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/scan-arkts-V5
使用QRCode解析的扫码demo:https://gitee.com/openharmony/applications\_app\_samples/tree/master/code/BasicFeature/Media/QRCodeScan\#/openharmony/applications\_app\_samples/blob/master/code/BasicFeature/Media/QRCodeScan/Feature/src/main/ets/qrcodescan/QRCodeParser.ets
使用Scan Kit(统一扫码服务)中的自定义界面扫码能力实现demo:
https://gitee.com/harmonyos\_samples/multi-mobile-payment
或者参考下面代码:
https://gitee.com/yujianjianghu/harmony\_scan
https://blog.csdn.net/caojie7928/article/details/139292912