We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

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

  • Android Studio version: 3.X or later

  • JDK version: 1.8 or later
  • SDK and Gradle:
    • minSdkVersion: 26 or later
    • targetSdkVersion: 29 (recommended)
    • compileSdkVersion: 29 (recommended)
    • Gradle version: 4.6 or later (recommended)

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

  • Test device: a Huawei phone or tablet running HarmonyOS 2.0 or later powered by Kirin 990 5G, Kirin 985 5G, Kirin 820 5G, or Kirin 9000

Development Process

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

Expand

No.

Step

Description

1

Configuring App Information in AppGallery Connect

(Skip this step if you do not need to release your app in AppGallery Connect.) Configure app information in AppGallery Connect, including registering as a developer, creating an app, generating a signing certificate fingerprint, and configuring the signing certificate fingerprint.

2

Integrating the HMS Core SDK

Integrate the 5G Modem SDK into your app.

3

Configuring Obfuscation Scripts

Before building the APK, configure the obfuscation configuration file to prevent the 5G Modem SDK from being obfuscated.

4

Adding Permissions

Declare the required permissions in the AndroidManifest.xml file.

5

Developing the Crowdtesting Function

Develop the crowdtesting function based on 5G Modem Kit APIs as needed.

6

Pre-release Check

(Skip this step if you do not need to release your app in AppGallery Connect.)

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

7

App Release

(Skip this step if you do not need to release your app in AppGallery Connect.)

Complete your app information in AppGallery Connect, and submit your app for release.

Search
Enter a keyword.