Site icon HU

How to Integrate Huawei HMS Core

Huawei HMS Core Integration

Huawei HMS Core Integration


Huawei Mobile Service (HMS) encompasses Huawei’s chip, device and cloud capabilities, including a full portfolio of HMS core services and associated IDE tool platforms for development and testing, as well as key applications for Huawei devices. Huawei Mobile Services (HMS) Apps section includes Huawei AppGallery, Huawei Assistant, Huawei Browser, Huawei Cloud, Huawei Wallet, Huawei Video, Huawei Music, etc.

How to integrate Huawei HMS Core?

Here’s how to do Preparations for Integrating HUAWEI HMS Core, follow the below steps.

  1.  Creating an App in AppGallery Connect.
  2.  Add Package Name.
  3. Creating an Android Studio Project.
  4.  Generating a Signing Certificate.
  5. Generating a Signing Certificate Fingerprint.
  6. Add a fingerprint certificate to AppGallery Connect.
  7. Add Maven libraries and plugin.
  8. Configure project signature.
  9. Sync Project.

1. Creating an App in AppGallery Connect.

During this step, you will create an app in AppGallery Connect (AGC) of HUAWEI Developer. When creating the app, you will need to enter the app name, app category, default language, and signing certificate fingerprint. After the app has been created, you will be able to obtain the basic configurations for the app, for example, the app ID and app secret, which will then be used in subsequent development activities.

Sign in to HUAWEI Developer and click Console.

Sign in to HUAWEI Developer

Click the HUAWEI AppGallery card and access AppGallery Connect.

AppGallery Connect

On the AppGallery Connect page, click My apps.


On the displayed My apps page, click New.


Enter the App name, select App category (options: App and Game), and select Default language as needed,

Upon successful app creation, the App information page will automatically display. There you can find the App ID and App Secret that are assigned by the system to your app.

 

2. Add Package Name

The developer sets the package name of the created application on the AGC.

3. Creating an Android Studio Project

During this step, you will create a new Android Studio project for your app, When creating the project, you will need to use the app name that you have specified in AppGallery Connect.

4. Generating a Signing Certificate

During this step, you will create a new signature file in Android Studio, which will be used for generating the SHA-256 fingerprint for your app.

5. Generating a Signing Certificate Fingerprint

During this step, you will need to export the SHA-256 fingerprint by using a key tool provided by the JDK and signature file.

6. Add fingerprint certificate to AppGallery Connect

During this step, you will configure the generated SHA-256 fingerprint in AppGallery Connect.

7. Add Maven libraries and plugin

8. Configure project signature

9. Sync Project

RelatedHow to create a Huawei ID quickly

Source: Huawei


Exit mobile version