# harmonyos-multi-barcode-qrcode-scan **Repository Path**: yushulx/harmonyos-multi-barcode-qrcode-scan ## Basic Information - **Project Name**: harmonyos-multi-barcode-qrcode-scan - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: https://devblogs.damingsoft.com/harmonyos-multi-qrcode-barcode-scan/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-23 - **Last Updated**: 2023-10-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: barcode, QRCode, HarmonyOS ## README ## 鸿蒙应用:多码扫描 示例代码只为演示华为鸿蒙HarmonyOS多码扫描解决方案。 ## 准备工作 1. 申请一个[免费试用序列号](https://www.dynamsoft.com/customer/license/trialLicense?product=dbr),设置到`server/app.js`中: ```javascript dbr.initLicense("LICENSE-KEY") ``` 2. 安装Node.js依赖包,然后运行`server/app.js`: ```bash npm install node app.js ``` ## 鸿蒙app运行方法 1. 把`client`工程导入到**DevEco Studio**。 2. 替换服务器地址和端口: ```typescript host: string = 'http://:' ``` 4. 运行工程,输入图片URL。先获取图片,然后传到服务端读取条码/二维码。 ![鸿蒙多码扫描](https://devblogs.damingsoft.com/album/2023/10/harmonyos-multi-barcode-qrcode-scan.png)