Connect with us

HarmonyOS

Huawei HarmonyOS 2 adds new 5 downloadable samples

Published

on


Huawei adds five more HarmonyOS samples with their corresponding examples. It has been published with downloadable links for easy access for the developers. Furthermore, the feature description is mentioned below to provide a better understanding and further modifications.

At present, the HarmonyOS 2.0 has been reached over 90 million installations in China and will soon complete this year’s target of reaching 100 million devices. In addition, the next HDC, which will conduct on October 22 could give more insights into the HarmonyOS ecosystem, HMS Core 6.0, and the Whole House intelligent system.

As for now, let’s focuses on the HarmonyOS samples-

SAMPLE 1: Update the JsFACard Sample Function

Scenario: Using the service card function to display the important information of the user’s application on the desktop. Afterward, the shortcut gesture function in the card leads to the direct service. Additionally, it also reduces the hierarchical jumps.

Download Link Here 

SAMPLE 2: New JsRouter Sample

Scenario: This new example shows, how the user can directly open a specified page or window just only clicking on the text content. Furthermore, the router interface is responsible for the page jump capability and parameter transfer process throughout the page jump.

Download Link Here 

HarmonyOS Sample

SAMPLE 3: New Native Image Sample

Scenario: This example elaborates the JNI interface, lock, and access, or unlock pixel data function declaration. It gives access to pixel data and pixel map information by Native_image.

Download Link Here

SAMPLE 4: New JsTimer Sample

Scenario: This example lets a developer know how to set system time through the SystemTime interface. The setTimeout () function is responsible for this action.

Download Link Here

SAMPLE 5: New JsDevice Sample

Scenario: It shows that with the help of device info, system parameter, and battery info interfaces how to run a query on the system. This method runs the device information, system attributes, battery, and charging attributes queries.

Download Link Here

Besides, Huawei recently releases the DevEco Studio 2.2 Beta 2 version. It brings support for Hi3861 Linux Burning, Stack Analysis, Image Analysis, ad Application Compatibility Testing. Furthermore, it also adds an emulator function that replaces the micro control unit.

Yash is a graduate of computer science and followed his way into journalism, he is interested in various subjects related to technologies and politics. Yash likes to listen classical songs and has a huge library of classical mixes.