HMS Core 5.0 released with new services and improvements

Mine KULAÇ AKKULAK
Huawei Developers
Published in
7 min readJul 17, 2020

What’s new?

Huawei has launched 7 new developer kits. These kits will provide more capabilities to develop new features within Media, Graphics and System categories.

  1. Audio Kit

HUAWEI Audio Kit is a set of audio capabilities developed by Huawei. It provides you with audio playback, audio playback, audio effects, and audio data capabilities based on the HMS Core ecosystem, including audio encoding and decoding capabilities at the hardware level and system bottom layer.

Documents :

Codelab :

2. Image Kit

HUAWEI Image Kit incorporates powerful scene-specific smart design and animation production functions into your app, giving it the power of efficient image content reproduction while providing abetter image editing experience for your users. It provides 24 unique color filters, 9 advanced animation effects, and supports five basic animations and any of their combinations.

Documents :

Codelab :

3. Video Kit

HUAWEI Video Kit provides Smoother HD video playback bolstered by wide-ranging control options, raises the ceiling for your app and makes it more appealing. It will support video editing and video hosting in later versions, helping you quickly build desired video features to deliver a superb video experience to your app users.

Documents :

Codelab :

4. Accelerate Kit

HUAWEI Accelerate Kit provides the multi-thread acceleration capability that efficiently improves concurrent execution of multiple threads. It is located above the kernel in the OS and opened to developers as a set of C-language APIs. Most of current Android devices run a multi-core system. To give full play to the system, programs of executing multiple tasks concurrently are preferred. Generally, multi-thread programs at the native layer control task execution by managing threads. Accelerate Kit provides a new multi-thread programming method by using the multi-thread library. It frees you from thread management details so that you can focus on developing apps that can fully utilize the multi-core hardware capability of the system, promising more efficient running.

Documents:

Codelab:

5. Computer Graphics Kit

CG Rendering Framework, a key capability of HUAWEI Computer Graphics (CG) Kit, is a Vulkan-based high-performance rendering framework that consists of the PBR material, model, texture, light, and component systems, and more. This rendering framework is designed for Huawei device development kit (DDK) features and implementation details to provide the best 3D rendering capabilities on Huawei devices using Kirin SoCs. In addition, the framework supports secondary development, with reduced difficulty and complexity, which therefore helps significantly increase the development efficiency.

Documents:

Codelab:

6. Scene Kit

HUAWEI Scene Kit is a lightweight rendering engine that features high performance and low consumption. It provides advanced descriptive APIs for you to edit, operate, and render 3D materials. It is extensively applicable to various scenarios that need image rendering, such as gaming, shopping, education, social networking, and design.

Documents:

Codelab:

7. hQUIC Kit

hQUIC Kit gives your apps low latency, high throughput, and secure and reliable communications capabilities. It supports both gQUIC, iQUIC and Cronet protocols and provides intelligent congestion control algorithms to avoid congestions in different network environments, giving your apps faster connection establishment, reduced packet loss, and higher throughput.

Documents:

Codelab:

Improvements

Some improvements have also been made to existing services in the HMS Core 5.0 version. In this part we will examine this improvements and features. HMS Core 5.0.0, brings the following updates:

1- Location Services

It supports network positioning Crowd-sourcing and Fence Management capabilities.

  • Added the 3D elevated road API.
  • Added the function of managing geofences on the cloud.

2- Push services

It supports LBS and Contextual Push.

Automated Notification (Beta): Different from common messaging, the automated notification can push messages to users at an appropriate time point, in an appropriate location, and under an appropriate scenario, including: headset inserted, Bluetooth car kit disconnected, DND canceled, holiday, weekend, UV intensity, and temperature. This greatly improves the tap-through rate of messages as well as user activeness and loyalty. In short, it makes push notifications smarter. You can find more detail in this page about Automated Notification.

3- Optimizes some service experiences

Analytics Kit 5.0.1

Added the analytics plugin to check whether the necessary preparations for integrating the HMS Core Analytics SDK are complete.

Dynamic Tag Manager 5.0.0

Added the capability to add visual events for Android apps.

Added the Facebook Analytics extension template.

Solved the issue that connections cannot be set up using WebSocket.

Solved the issue that the control ID cannot be obtained.

FIDO 5.0.0

Added the Fido2Client.hasPlatformAuthenticators() API for checking whether a platform authenticator is available.

Added the Fido2Client.getPlatformAuthenticators() API for checking available platform authenticators.

Added the extended item for specifying a platform authenticator for authentication.

Added the extended item for specifying whether the private key is invalidated when a new fingerprint is enrolled on the fingerprint platform authenticator.

Added the extended item for specifying whether the fingerprint platform authenticator recognizes the fingerprint ID.

Game Service 5.0.0

Supported HUAWEI AppTouch.

Health Kit 5.0.0

The DFX capability is enhanced to cover more service scenarios.

Data from the HUAWEI Health app can be integrated into HMS Health Kit. (Data that can be integrated includes the step count data, sleep data, blood glucose, blood pressure, heart rate data, and weight data.)

Map Kit 5.0.0

Added API key authentication. You can set an API key in either of the following ways:

Set the api_key field in the agconnect-services.json file.

Call the MapsInitializer.setApiKey(String) method.

Nearby Service 5.0.0

Added the message engine function to support messaging rule configuration on the console of HUAWEI Developers.

Safety Detect 5.0.0

Improved the efficiency of non-first time Safety Detect SDK synchronization.

Fixed the issue that HMS Core (APK) cannot be called on some non-Huawei phones.

Site Kit 5.0.0

Added the search widget.

Added the HwPoiType parameter, which indicates the Huawei POI type.

Thank you so much for reading and taking time. See you in next posts.

--

--