Huawei HarmonyOS 2 adds 5 practical new features


HarmonyOS 2

Chinese manufacturer, Huawei, has been releasing the HarmonyOS to many of its smartphones. As of now, over 80 models and well over 50 million smartphones use this system. However, the company is still upgrading the system just like other systems in the market. According to Huawei, the HarmonyOS now have five new features and the samples for these features are now available. If you already know how Gitee works, then you can use the links below to check out these sample features. However, if you don’t know how it works, we recommend that you don’t use the link.

Huawei HarmonyOS

Sample 1: Add NativeLayer sample

Scenario: Native_layer declares the JNI related to the native layer. This example shows the use of the JNI interface on Native_layer so that the application can obtain the native layer that matches the Java surface object, obtain the native layer information, and also set the native layer size and layer grid.

Sample 2: New grid layout

Scenario: This example uses a grid system for element layout, which is mainly implemented by the <grid-container\>, <grid-row\>, and <grid-col\> tags.

Sample 3: New JS canvas example

Scenario: The <canvas\> component can be customized to draw graphics. This example shows how to use the <canvas\> component.

Sample 4: New adaptive page and adaptive efficiency homepage example

Scenario: This example uses five types of immersive cards, graphic cards, grid cards, plain text cards, and multi-dimensional information cards to demonstrate the adaptive capabilities of cards on devices of different sizes. When the card is extremely wide and extremely high, the card will be displayed through adaptive capabilities such as stretching, zooming, hiding, folding, and evenly dividing.

Read Also:  Huawei P20 now getting HarmonyOS 2.0.0.195 update

● Download link: Click Here

Sample 5: New adaptive card example

Scenario: This example shows a listing page. On devices of different sizes, through adaptive capabilities such as stretching, scaling, sharing, and proportioning, the use of multi-state controls, the scalability of layouts and components, and the use of responsive layouts has a reasonable layout effect.

● Download link: Click Here

If you have any questions or needs during use, please submit an issue on Gitee.

According to Huawei, no less than 300 million devices will get the HarmonyOS globally. While 200 million will be Huawei’s devices, 100 million will be from third-party manufacturers. Unfortunately, global users are not receiving the HarmonyOS update yet. As for now, they have the EMUI 12 which is the latest version and adds some new HarmonyOS features.

Source/VIA :
Previous Xiaomi told how much it earned and how many smartphones it sold in Q2
Next Xiaomi Mi 11 MIUI OTA update - see how to keep Magisk root