Before developing your app, you can follow instructions in the codelab to experience how to quickly integrate Scan Kit into an app.
No. | Step | Description |
|---|---|---|
1 | Configure app information in AppGallery Connect, including Registering as a Developer and Creating an App. | |
2 | Integrate the HMS Core Scan SDK into your app. | |
3 | Before building the APK, configure the obfuscation configuration file to prevent the HMS Core Scan SDK from being obfuscated. | |
4 | Declare the required permissions in the AndroidManifest.xml file. | |
5 | Call Scan Kit using one of the following modes: Default View for single-barcode scanning, MultiProcessor Mode for synchronous detection of barcodes, Bitmap for scanning barcodes using the camera or from images, and Customized View that allows for customizing the scanning UI. For details, see Available Modes to Call Scan Kit. | |
6 | Convert character strings into 1D or 2D barcodes in 13 formats, including EAN-8, EAN-13, UPC-A, UPC-E, Codabar, Code 39, Code 93, Code 128, ITF-14, QR Code, DataMatrix, PDF417, and Aztec. | |
7 | Parse barcode information in the input image. The information includes the barcode coordinates, original data, format, structured data, zoomValue, and more. | |
8 | Use the tool offered by Huawei to automatically check your app before release. | |
9 | Complete your app information in AppGallery Connect, and submit your app for release. |
HMS Toolkit provides end-to-end tools (including those for app creation, free real-device debugging, and releasing) that you need to develop your own HMS Core-integrated app and release it, with lower costs and higher efficiency.
Click here to learn about the best practice for using HMS Toolkit to integrate this kit.