/HMSLiveTemplates

Huawei Mobile Services & App Gallery Connect Live Templates for Android Studio

MIT LicenseMIT

HMS Live Templates

Huawei Mobile Services & App Gallery Connect Live Templates for Android Studio

Implementation

1- Download the zip file below.

2- Select and import the downloaded zip file from the "import settings" menu as shown in the picture.

alt text

Description

HMS - Push Kit 📫

  • When using Push Kit, you can use this template to get push token.
    getPushToken
    alt text

  • You can also delete a push token.
    deletePushToken
    alt text

HMS - ML Kit 🧠

  • While using Face Detection, Device&Cloud text analyzer features, you can access the analysis method.
    faceAnalyzer

    alt text
    localAnalyzer
    alt text
    remoteAnalyzer
    alt text

  • You can also take a look at this method to create a LensEngine.
    lensEngineCreate
    alt text

HMS - Map Kit 🗺️

  • You can get faster results when adding markers in Huawei Map Kit.
    addMarker
    alt text

  • You can use this template when creating SupportMapFragment.
    newSupportMapFragment
    alt text

HMS - Account Kit 🧑‍🤝‍🧑

  • If you are going to authorize with Huawei ID, you can quickly create HuaweiIdAuthParams.
    authParams
    alt text