Connect with us

HarmonyOS

HarmonyOS Samples with five practical examples, can download and learn

Published

on


Huawei has officially listed HarmonyOS 2.0 Sample with five practical examples. Developers can download and learn about these HarmonyOS Samples in the way they want. Download these HarmonyOS Samples from the links below and know their features.

Huawei’s HarmonyOS 2 has reached millions of devices since its official release on June 02, 2021. The company has set several milestones with its impressive release of HM OS 2 for smartphones and tablets, outperforming its own rollout plan.

Sample 1: Add NativeLayer sample

Scenario: Native_Layer introduces the JNI related to the native layer. This example shows how to use the JNI interface on the Native_layer so that the application can achieve the native layer that matches the Java surface object. It then obtains the native layer information and also sets the native layer size and layer grid.

Download link

Sample 2: New grid layout

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

Download link

HarmonyOS 2 Sample

Sample 3: New JS canvas example

Scenario: The <canvas\> tag can be customized to draw graphics and this example elaborates the perfect use of this tag.

Advertisement

Download link

Sample 4: New adaptive page and adaptive efficiency homepage example

Scenario: It uses five different types of immersive cards, graphic cards, grid cards, plain text cards, and multi-dimensional information cards. Then it presents the adaptive capability of these cards on devices of different sizes.

When the card is extremely wide and high, it will be displayed after making some customizations such as stretching, zooming, hiding, folding, and even dividing.

Download link

HarmonyOS 2

Sample 5: New adaptive card example

Scenario: This example presents the list page on different sizes of devices. It uses adaptive capabilities such as stretching, zooming, sharing, and proportioning. To perform these tasks, it makes use of polymorphic controls, the extensible of layouts, and components, and a responsive layout.

The adaptive display is reasonable for layout effect. You can download this Sample from the given link below.

Download link

(Via – IT Home)

Advertisement

Most of Deng Li's smartphones are from the Huawei ecosystem and his first Huawei phone was Ascend Mate 2 (4G). As a tech enthusiast, he keeps exploring new technologies and inspects them closely. Apart from the technology world, he takes care of his garden.

HarmonyOS

Huawei HarmonyOS API version 7 launched, adds ArkUI 3.0 dev framework

Published

on

By

HarmonyOS 3.0 API 7

On September 11, 2020, Huawei has released the HarmonyOS SDK’s first beta, which supports the development of Huawei smart screens, smart wearables, and car equipment based on HarmonyOS. Following several version upgrades, Huawei has finally announced the release of HarmonyOS SDK 3.0 Beta (API Version 7).

Compared to the previous version, a new ArkUI 3.0 development framework has been added. Simultaneously, Javascript API 7 provides HarmonyOS developers with richer capabilities in program frameworks, telephone services, media, and public basis libraries.

ArkUI 3.0 development framework:

The Huawei Developer Conference HDC2021 officially launched the ArkUI 3.0 development framework. Based on the original JS-based web-like development paradigm, a newly designed declarative development paradigm based on TS extension was added.

It supports TypeScript programming language and adopts closer The declarative paradigm syntax of natural semantics allows developers to intuitively describe the UI interface without worrying about how the framework implements UI drawing and rendering, achieving minimalist and efficient development.

Advertisement

At present, the declarative development paradigm based on TS extension has supported 32 UI components such as Image, Text, List, etc., and 8 dynamic effects such as implicit animation and explicit animation.

JS API 7 new interface

JS API 7 adds nearly 6000 interfaces, covering distributed data management subsystem, telephone service subsystem, image and graphics subsystem, etc., allowing developers to develop fully functional user applications through JS API.

Huawei HarmonyOS

Continue Reading

HarmonyOS

Travel Service app based on HarmonyOS open for public testing

Published

on

Travel Service public testing

Recently, the public testing slots for HarmonyOS powered Travel Service is opened between November 26 to December 5. Interested users can participate in this testing program and download the latest 3.0.6.201 version that comes with a package size of 2.3MB.

Travel Service:

Travel Service FA is a personalized flight and train travel service platform launched by HarmonyOS system Smart Travel. It visually displays flight and train information in the form of cards and supports flights and trains dynamic change reminders as well as covers the functions such as taxi navigation, weather, and alarm reminders.

Travel Service public testing

Prizes:

You can participate in Travel Service public testing and put forward your valuable opinions to win prizes~ Withdraw the incentive measures (expected draw time: 8 December 2021).

  • First prize: 100 yuan Jingdong E-card
  • Second prize: 70 yuan Jingdong E card
  • Third prize: 50 yuan Jingdong E card

Note: The list of winners will be announced at 15:00 on December 8, 2021. 

Award Rules:

  •  Based on a number of valid feedbacks submitted by users. (Valid feedback mainly refers to the functional errors and BUGs of this version)

Task introduction

Download and install

  • Click the “download” button at the bottom of the page to download and install the public test version of the Travel Service.
  • After installation, do not enter the application through the “Open” button at the bottom of this page, return to the lower left or lower right corner of the desktop, and swipe the screen to enter the service center.
  • Search for “travel service” in the search box, the travel service application icon will pop up, long-press the icon to pop up the check box, and select the card mode “add to desktop”.

Add Travel Path:

Click “Start Experience” and agree to the privacy agreement to start the experience:

Advertisement
  • After receiving the booking text message, the travel service recognizes the text message and automatically adds the itinerary
  • Long press the first level card to pop up the edit box, select the edit entry to manually enter the information to add the plan.

Public test content:

  • Install travel service FA, experience flight/train reservation query, flight/train dynamic change reminder, departure/destination, weather reminder, taxi navigation, UI interface experience.
  • During the test, you can record and take screenshots, and submit questions to the beta form for real-time feedback.

Travel Service public test

(Via)

Continue Reading

HarmonyOS

December 2021 HarmonyOS security update for Honor Pad 6 rolling out

Published

on

Honor Pad 6 December update

Huawei is about release the December 2021 HarmonyOS security patch details but ahead of this, it began sending this security update for Honor Pad 6, which is impressive. However, Huawei Enjoy 2 Tablet and Honor Pad X6 has already grabbed this security patch.

According to the information, December 2021 update for Honor Pad 6 comes with HarmonyOS version 2.0.0.225, which is upgraded from HM OS base version 2.0.0.210 in China. By exploring the changelog, we have found that it installs the December 2021 security patch and brings optimizations for the display effect of some interfaces.

Furthermore, the Chinese tech maker has recently rolled the EMUI December 2021 security patch details, which will soon be reached the user for improved system security,

If you want to send us Tips, Update Screenshots, or a Message? connect with us here:

Advertisement
  • Screenshots@huaweicentral.com
  • Tips@huaweicentral.com
  • Message us on Twitter

Honor Pad 6 December update

HOW TO UPDATE:

Download via Settings:

  • Open Settings
  • Click on the System & Updates
  • Open Software update
  • Tap on Check for updates option
  • If an update is available, click on Download and install
  • After installation Reboot the device

Download via My Huawei app:

  • Open the My Huawei app on your device
  • Go to the Update
  • Follow the on-screen instructions

Update Notes:

  • Due to version restrictions, please upgrade to version 2.0.0.210 first, otherwise you will not receive the version rollout.
  • This version upgrade will not erase user data, but it is recommended to back up all important data to a PC or cloud before upgrading, and confirm that the backup content is complete and effective.
  • Because some third-party applications may not be compatible with the HarmonyOS operating system, the third-party app may not work normally after the update. It is recommended that you try to update the application to the latest version in the Huawei AppGallery.
  • After the upgrade is completed, the tablet may experience heating, freezing, or slow charging. This is caused by some self-optimization and adaptation actions performed by the system after the upgrade. Please rest assured to use it. It will return to normal after 2-3 days of normal use. It is recommended that you charge for more than 1 hour in idle time. During the charging period, the system will do optimization to ensure that the tablet application is quickly adapted.
  • After the update, there may be changes in your home screen layout, please adjust it manually.
  • This update needs to reserve 10GB of data space. The installation package will be automatically deleted after the update and does not occupy storage space
Continue Reading