Writy.
  • Home
  • HarmonyOS
    Nova 10 Update

    December 2022 security update rolling for Nova 10, Nova 10 Pro and MatePad Pro 10.8

    Huawei Mate 40 Series latest Updates

    Huawei Mate 40 Series latest Updates

    Huawei P30 Series recent updates

    Summary of the Huawei P30 Series recent updates

    Huawei MatePad 10.4

    October 2022 security update is now live for Huawei MatePad 10.4

    Huawei Mate 40 Pro and P50 Pro update

    Huawei Mate 40 Pro and P50 Pro getting HarmonyOS 3.0.0.154 update

    Huawei P40 Series July 2022 patch update

    Huawei P40 Series gains July 2022 security patch

    Huawei MatePad 11 HarmonyOS 2.0.0.251 update

    Europe: Huawei MatePad 11 getting 1.22 GB size update

    Huawei MatePad 10.4 and 10.8-inch July 2022 security update

    Huawei MatePad 10.4 and 10.8-inch getting July 2022 security update

    MediaPad M6 May 2022 Security Patch Update

    Three years old Huawei tablet grabbing May 2022 update in Europe

    Trending Tags

    • HarmonyOS 2
    • HarmonyOS 3
    • HarmonyOS History
  • EMUI 12
    Huawei Nova Y70

    Huawei Nova Y70 gets January 2023 security update

    Huawei P50 Pro

    Huawei P50 Pro January 2023 security update rolling out – Europe

    Huawei P40 2023 Update

    Huawei P40, P40 Pro, and Mate 40 Pro getting January 2023 security patch update

    Stable EMUI 12 2023

    Updated EMUI 12 plan for Global users [January 2023]

    Huawei P30 Pro December 2022 patch update

    Europe: Huawei P30 Pro receiving December 2022 security update

    Huawei Nova 7 getting January 2023 security update

    Huawei Nova 7 getting January 2023 security update

    Nova 10 Update

    December 2022 security update rolling for Nova 10, Nova 10 Pro and MatePad Pro 10.8

    Huawei Nova Y90

    Huawei Y90 getting December 2022 patch update

    Huawei Mate 40 Pro December 2022 patch update

    Huawei Mate 40 Pro receiving December 2022 security update

    Trending Tags

    • EMUI 12
    • EMUI 11
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    Huawei Watch 4 Series

    Huawei Watch 4 Series code name appeared in a new leak

    HarmonyOS February 2023 security patch details released

    HarmonyOS February 2023 security patch details released

    Huawei February 2023 EMUI security details

    Huawei publishes February 2023 security patch details

    Huawei ranks 4th in the worldwide tablet shipments

    Huawei ranks 4th in the Q4 2022 worldwide tablet shipments

    Huawei Music App Store

    Huawei Music is now on Apple App Store

    Huawei P60 and Mate X3

    These upcoming Huawei phones may launch with Snapdragon 8+G1, 8+G2 and 8G2

    Qualcomm

    Qualcomm will continue supply to Huawei

    Snapdragon 8 Plus SoC

    Huawei Nova 20 Pro, Mate X3 and P60 will get Snapdragon 8 Plus SoC

    Huawei Sound X series smart speakers

    Huawei Sound X series smart speakers are up for offers

    Trending Tags

    • Mate 50
    • P40
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip
No Result
View All Result
HU
  • Home
  • HarmonyOS
    Nova 10 Update

    December 2022 security update rolling for Nova 10, Nova 10 Pro and MatePad Pro 10.8

    Huawei Mate 40 Series latest Updates

    Huawei Mate 40 Series latest Updates

    Huawei P30 Series recent updates

    Summary of the Huawei P30 Series recent updates

    Huawei MatePad 10.4

    October 2022 security update is now live for Huawei MatePad 10.4

    Huawei Mate 40 Pro and P50 Pro update

    Huawei Mate 40 Pro and P50 Pro getting HarmonyOS 3.0.0.154 update

    Huawei P40 Series July 2022 patch update

    Huawei P40 Series gains July 2022 security patch

    Huawei MatePad 11 HarmonyOS 2.0.0.251 update

    Europe: Huawei MatePad 11 getting 1.22 GB size update

    Huawei MatePad 10.4 and 10.8-inch July 2022 security update

    Huawei MatePad 10.4 and 10.8-inch getting July 2022 security update

    MediaPad M6 May 2022 Security Patch Update

    Three years old Huawei tablet grabbing May 2022 update in Europe

    Trending Tags

    • HarmonyOS 2
    • HarmonyOS 3
    • HarmonyOS History
  • EMUI 12
    Huawei Nova Y70

    Huawei Nova Y70 gets January 2023 security update

    Huawei P50 Pro

    Huawei P50 Pro January 2023 security update rolling out – Europe

    Huawei P40 2023 Update

    Huawei P40, P40 Pro, and Mate 40 Pro getting January 2023 security patch update

    Stable EMUI 12 2023

    Updated EMUI 12 plan for Global users [January 2023]

    Huawei P30 Pro December 2022 patch update

    Europe: Huawei P30 Pro receiving December 2022 security update

    Huawei Nova 7 getting January 2023 security update

    Huawei Nova 7 getting January 2023 security update

    Nova 10 Update

    December 2022 security update rolling for Nova 10, Nova 10 Pro and MatePad Pro 10.8

    Huawei Nova Y90

    Huawei Y90 getting December 2022 patch update

    Huawei Mate 40 Pro December 2022 patch update

    Huawei Mate 40 Pro receiving December 2022 security update

    Trending Tags

    • EMUI 12
    • EMUI 11
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    Huawei Watch 4 Series

    Huawei Watch 4 Series code name appeared in a new leak

    HarmonyOS February 2023 security patch details released

    HarmonyOS February 2023 security patch details released

    Huawei February 2023 EMUI security details

    Huawei publishes February 2023 security patch details

    Huawei ranks 4th in the worldwide tablet shipments

    Huawei ranks 4th in the Q4 2022 worldwide tablet shipments

    Huawei Music App Store

    Huawei Music is now on Apple App Store

    Huawei P60 and Mate X3

    These upcoming Huawei phones may launch with Snapdragon 8+G1, 8+G2 and 8G2

    Qualcomm

    Qualcomm will continue supply to Huawei

    Snapdragon 8 Plus SoC

    Huawei Nova 20 Pro, Mate X3 and P60 will get Snapdragon 8 Plus SoC

    Huawei Sound X series smart speakers

    Huawei Sound X series smart speakers are up for offers

    Trending Tags

    • Mate 50
    • P40
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip
No Result
View All Result
HU
No Result
View All Result

How to Integrate Huawei HMS Core

by Amit
February 23, 2020
in Huawei Mobile Services, Tips And Tricks
0
Huawei HMS Core Integration

Huawei HMS Core Integration

595
SHARES
3.3k
VIEWS
Share on FacebookShare on Twitter

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?

You might also like

Charger Port

Fix a Broken Charger Port on your Smartphone

December 6, 2022
How to restore WhatsApp chat history in Huawei Mate 30 Series

How to restore WhatsApp chat history in Huawei Mate 30 Series

December 5, 2022

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
Sign in to HUAWEI Developer

Click the HUAWEI AppGallery card and access AppGallery Connect.

AppGallery Connect
AppGallery Connect

On the AppGallery Connect page, click My apps.

My apps page
On the displayed My apps page, click New.

My apps page click new
Enter the App name, select App category (options: App and Game), and select Default language as needed,

Enter the App name

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.

App ID

 

2. Add Package Name

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

  • Manually enter the package name.
  • Open the previously created application in AGC application management and select the Develop TAB to pop up an entry to manually enter the package name and select manually enter the package name.
  • Fill in the application package name in the input box and click save.
  • Upload install APK file to add package name.
  • Open the previously created application in AGC application management and select the Develop TAB. You can choose to upload the package to get the package name.Or just click Distribute -> Release app -> Version Infomation -> Draft-> Software version.
  • Select Manage package, and then in the pop-up box, select upload.
  • In the pop-up upload prompt box, select has been generated APK file.
  • Select save after successful upload.

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.

  • Start Android Studio. On the menu bar, go to File->New->New Project.
  • On the Choose your project page, click Empty Activity, and then click Next.
  • On the Configure your project page, enter Name (it’s the same as the input on AppGallery Connect) and Package name (it’s the same as the input on AppGallery Connect) for your app, select Save location, Minimum API level, and then click Finish. You have now created a project for your app.

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.

  • In the menu bar of the Android Studio project that you have created, go to Build>Generate Signed Bundle/APK.
  • On the Generate Signed Bundle or APK page, select APK and click Next.
  • If you’ve already had a signature file, click Choose existing… , select the signature file, and specify Key store password,Key alias, and Key password for it. After completing this, click Next.
  • If you don’t have a signature file, click Create new.
  • Specify relevant information including Key store path, Password, and Key Alias.
  • After successfully creating the signature file, you will find the signature file information on the automatically displayed Generate Signed Bundle or APK page. Click Next.
  • On the displayed page, select V1 and V2 next to Signature Versions, and then click Finish. You have now created a signed APK (This APK file can be used to upload the generated package name).

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.

  • Open the command window and access the bin directory where the JDK is installed.
  • Run the following keytool command in the bin directory and enter the password for the signature file key. This password was specified when the signature file was created.
  • Obtain the SHA-256 fingerprint from the result.

6. Add fingerprint certificate to AppGallery Connect

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

  • In AppGallery Connect, click the app that you have created and go to Develop -> Overview.
  • Go to the App information section and enter the SHA-256 fingerprint that has been generated.
  • Click √ to save the fingerprint.
  • Upon completion, the signing certificate fingerprint will take effect immediately.

7. Add Maven libraries and plugin

  • In Android Studio root-level (project-level) build.gradle file, add rules to include the HUAWEI agcp plugin and HUAWEI Maven repository.
  • In your module (app-level) build.gradle file (usually app/build.gradle), add a line to the bottom of the file.

8. Configure project signature

  • Copy the generated signature file hmsdemo.jks into the app folder and open your module (app-level) build.gradle file (usually app/build.gradle).
  • Add the signature configuration in the android directory of build.gradle file.

9. Sync Project

  • Click sync now to synchronize the project
  • Completed successfully that means successful synchronization, and the integration preparation is completed.

Related: How to create a Huawei ID quickly

Source: Huawei

Tags: HMS Core IntegrationHMS Core tips and tricksHMS Core tutorialHow to HMS CoreHuaweiHuawei HMSHuawei HMS CoreHuawei HMS Core IntegrationHuawei HMS tipsHuawei HMS tips and tricksHuawei HMS tutorialIntegrate Huawei HMS Core
Share238Tweet149ShareShareSend
Amit

Amit

I write about Huawei Latest News, EMUI Updates & more. I am also a fitness freak. For any information, tip or help send me an email at huaweiupdatenews@gmail.com

Recommended

Huawei February 2023 EMUI security details

Huawei publishes February 2023 security patch details

February 6, 2023
Huawei P50 Pro

Huawei P50 Pro January 2023 security update rolling out – Europe

February 6, 2023

Popular Story

  • Huawei Health 13.1

    Huawei Health updated to 13.1.2.160-wearBeta, download now

    4753 shares
    Share 1901 Tweet 1188
  • Huawei EMUI 13 Eligible devices for global market

    2939 shares
    Share 1176 Tweet 735
  • Download and the latest Google Play Store 34.4.16 APK

    1856 shares
    Share 742 Tweet 464
  • Download Huawei Petal Search 12.0.8.301 APK [2023 Update]

    1909 shares
    Share 764 Tweet 477
  • Breaking: 74 Huawei devices have received HarmonyOS 3 so far, 2023 plan also out

    821 shares
    Share 328 Tweet 205

At HuaweiUpdate.com, you/users will get complete information of Huawei news, Huawei's new product launch, EMUI update news, and How-to guides.

  • About Us
  • Privacy Policy
  • Sitemap
  • Send A Tip

Copyright © 2022 HU

No Result
View All Result
  • Home
  • HarmonyOS
    • HarmonyOS History
  • EMUI 12
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip

Copyright © 2022 HU