Jotdown・The Event Planner with Huawei Push Kit, Account Kit, Ads Kit and Scan Kit

Lim Wei Jie
4 min readOct 17, 2021

--

The quick and convenient Jotdown event planner with date selector and input your event title with descriptions.

Jotdown is an easy-to-use with stunning and user-friendly interface free event planner app for Android and HMS devices. The clear and convenient event planner allows you to jotdown any important event or schedule to make your day more beautiful.

Jotdown Key Features:

Clear and organised presented event planner which can be stored by title, descriptions and date.

Saved and stored all created event data without losing and disappear for next opening.

Sort your event by today and the others date.

Daily motivational quotes push notification.

Suggestion for the Jotdown:

‣ Plan your daily meal for balance diet and nutritions.

‣ Schedule your remaining tasks including assignments and chores that need to done by end of the day.

In order to enhance the extra features of the Jotdown application, integration of Huawei Push Kit and Account Kit had been performed.

HMS Core SDK Configuration

Before starting the integration for any HMS Core Kit, adding the AppGallery Connect Configuration File of your app as follow:

  1. Sign in to AppGallery Connect and click My projects.
  2. Find your app project and click the app that needs to integrate the HMS Core SDK.
  3. Go to Project settings > General information. In the App information area, download the agconnect-services.json file.

4. Copy the agconnect-services.json file to your app’s root directory.

Configuration the Maven Repository Address for HMS Core SDK:

  1. Open your project-level build.gradle file.
  2. Add the AppGallery Connect plugin and the Maven repository.

3. Add Maven repository to settings.gradle file.

Huawei Push Kit

The Huawei Pust Kit is integrated into the application to provide a daily motivational quotes features for the users to make their day more beautiful and positive.

Following shows the steps for integrating the Huawei Push Kit (Kotlin):

  1. Add Add a build dependency in the dependencies block and AppGallery Connect plugin.

2. Obtained the device token

Run the getToken() function in the main activity or any activity and obtain the token from the Logcat.

3. Configure and set your desire push service via the Huawei AppGallery Connect Push Kit.

Result:

Huawei Account Kit

Account Kit provides you with simple, secure, and quick sign-in and authorization functions.

Instead of entering accounts and passwords and waiting for authentication, users can just tap the Sign in with HUAWEI ID button to quickly and securely sign in to your app with their HUAWEI IDs.

Following shows the steps for integrating the Huawei Account (Java):

  1. Implement the HUAWEI ID sign-in button (Any XML layout).

2. Show the authorization screen to request authorization from the user.

Bind silentSignInByHwId to the onClick callback method triggered after a tap on R.id.HuaweiIdAuthButton to implement the HUAWEI ID sign-in function.

3. After a successful sign-in through getSignInIntent, your app will process the sign-in result, obtain the ID token, verify it, and finally parse it.

Results:

Huawei Ads Kit

Ads Kit leverages the vast user base of Huawei devices and Huawei’s extensive data capabilities to provide you with the Publisher Service, helping you monetize traffic.

Following shows the steps for integrating the Huawei Account (Kotlin):

  1. Create XML File for the Banner Ads

2. Integrate the ads with the testing ads ID to shows the working of ads.

Results:

References:

Huawei Push Kit:

https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-config-agc-0000001050170137

Huawei Account Kit:

https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-scenario-id-token-0000001116078504

Huawei Ads Kit:

https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/publisher-service-js-banner-0000001133635648

Huawei Scan Kit:

https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/android-default-view-0000001050043961

--

--