Before developing your app, you can follow instructions in the codelab to experience how to quickly integrate this kit into an app.
Android Studio version: 3.6.1 or later
Test device: a Huawei phone or tablet running EMUI 3.0 or later, or a non-Huawei phone running Android 5.1 to 13
If you need to use multiple HMS Core kits, use the latest versions required for these kits.
Follow the steps in the following process when you develop an app.
No. | Step | Description |
|---|---|---|
1 | Before you start developing an app, configure your app information in AppGallery Connect, including Registering as a Developer, Creating a Project, Subscribing to a Pay-As-You-Go Plan, Creating an App, Generating a Signing Certificate Fingerprint, Configuring the Signing Certificate Fingerprint, Enabling Required Services, and Obtaining the API Key. | |
2 | Before you start developing an app, integrate the HMS Core SDK into your development environment. | |
3 | Before building the APK, configure the obfuscation configuration file to prevent the HMS Core SDK from being obfuscated. | |
4 | Use the keyword search function to search for places such as tourist attractions, enterprises, and schools based on the specified keywords, coordinate bounds, and other information. | |
Use the nearby place search function to search for and return a list of places around the current location of a user. When the user selects a place, your app obtains the place ID and searches for details about the place. | ||
Use the place detail search function to search for details about a place (such as the name, detailed address, and longitude-latitude coordinates of the place) based on the unique ID (Site ID) of the place. | ||
Use the place search suggestion function to display suggested places during user input. | ||
Use the widget, which is a search component of the built-in place search suggestion feature. | ||
Use the autocomplete function to return an autocomplete place and a list of suggested places. | ||
5 | Use the tool offered by Huawei to automatically check your app before release. | |
6 | 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.
If you want to integrate Site Kit using HMS Toolkit, follow the instructions here.