目录

Getting Started

Quick Tutorial

Before developing your app, you can follow instructions in the codelab to experience how to quickly integrate this kit into an app.

Development Environment

If you need to use multiple HMS Core kits, use the latest versions required for these kits.

Development Process

Follow the steps in the following process when you develop an app.

No.

Step

Description

1

Configuring App Information in AppGallery Connect

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

Integrating the HMS Core SDK

Before you start developing an app, integrate the HMS Core SDK into your development environment.

3

Configuring Obfuscation Scripts

Before building the APK, configure the obfuscation configuration file to prevent the HMS Core SDK from being obfuscated.

4

Keyword Search

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.

Nearby Place Search

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.

Place Detail Search

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.

Place Search Suggestion

Use the place search suggestion function to display suggested places during user input.

Widget

Use the widget, which is a search component of the built-in place search suggestion feature.

Autocomplete

Use the autocomplete function to return an autocomplete place and a list of suggested places.

5

Pre-release Check

Use the tool offered by Huawei to automatically check your app before release.

6

App Release

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.