Connect with us

Huawei News

Huawei HarmonyOS 2 adds new 5 sample examples

Published

on

HarmonyOS Sample

According to the official data, HarmonyOS 2 adds new 5 samples this week, including the JsFACard example function, the JsRouter example, the NativeImage example, the JsTimer example, and the JsDevice example.

Sample1: Update the JsFACard sample function

Scenario: This example shows the service card function, through which important information of the user application is displayed on the desktop. This time, the function of using cards through shortcut gestures has been added to achieve the purpose of direct service and reducing hierarchical jumps.

●Download link:

https://gitee.com/openharmony/app_samples/tree/master/UI/JsFACard

Advertisement

Sample 2: New JsRouter sample

Scenario: This example shows that by clicking on the text content, the current page jumps to the specified page. The router interface is used to realize the page jump capability and the transfer of parameters during the page jump process.

●Download link:

https://gitee.com/openharmony/app_samples/tree/master/UI/JsRouter

Sample 3: New NativeImage sample

Advertisement

Scenario: This example shows how to declare the JNI interface and lock and access or unlock pixel data functions through the JNI interface, and provide access to pixel data and pixel map information through Native_image.

●Download link:

https://gitee.com/openharmony/app_samples/tree/master/native/NativeImage

Sample 4: New JsTimer sample

Scenario: In this example, the system time is set through the systemTime interface, and the timer is set through the setTimeout () function.

Advertisement

●Download link:

https://gitee.com/openharmony/app_samples/tree/master/UI/JsTimer

Sample 5: New JsDevice sample

Scenario: This example uses the deviceInfo, systemParameter and batteryInfo interfaces to query device information, system attributes, and battery and charging attributes respectively.

●Download link:

Advertisement

https://gitee.com/openharmony/app_samples/tree/master/UI/JsDevice

There are 25 more Samples integrated into DevEco Studio this week, as shown in the following table:

Huawei HarmonyOS 2 adds new 5 sample examples

(Via)

Join_Huawei_Update_Telegram_Channel

Huawei News

Huawei Petal Mail App will no longer be available for download

Published

on

By

Huawei Petal Mail App

According to the official information, the Huawei released the delisting announcement of its Petal Mail App. The full text of the announcement is as follows: [translated]

Thank you for your continued attention and support to the Huawei Petal Mail App. In order to better adapt to the changing needs of product experience, service content and local markets, we have made strategic adjustments to the Huawei Petal Mail App.

The Petal Mail App will officially switch to the Email App on December 31, 2024, and the Petal Mail App will no longer be available for download from the App Store. The Petal Mail App you have installed can be used normally. We apologize for the inconvenience. You can continue to view, send or receive emails in the pre-installed Email App on your Huawei phone or use a computer browser to open the Petal Mail official website ( https://www.petalmail.com ), and your emails and personal data will not be lost.

Huawei Petal Mail App

Continue Reading

Huawei News

Huawei Mate 70 lineup repair spare parts prices announced

Published

on

By

Huawei Mate 70 lineup

Huawei released the Mate 70 series of mobile phones, with a starting price of 5,499 yuan. At present, the prices of spare parts for the new Mate 70 series have been announced on Huawei’s official website.

Huawei Mate 70 lineup repair spare parts prices announced

Battery and motherboard

Mate 70

Battery — 199
12GB+256GB — 2499
12GB+512GB — 2899
12GB+1TB — 3599

Mate 70 Pro

Battery — 199
12GB+256GB — 2899
12GB+512GB — 3299
12GB+1TB — 3999

Advertisement

Mate 70 Pro+

Battery — 299
16GB+512GB — 4399
16GB+1TB — 4899

Mate 70 RS

Battery — 299
16GB+512GB — 6499
16GB+1TB — 6999

Camera

Camera

Accessories

Advertisement
Continue Reading

Huawei News

Huawei FreeBuds Pro 4 official announcement

Published

on

By

Huawei FreeBuds Pro 4

Huawei officially announced the new FreeBuds Pro 4 headphones. This is the first TWS headset equipped with HarmonyOS NEXT and will be officially launched at the Huawei Mate Brand Festival on November 26.

As can be seen from the poster, the headset adopts an in-ear design with black and gold color matching, and the overall shape is similar to the previous generation. With the support of the new system, FreeBuds Pro 4 is expected to bring more functional upgrades.

Huawei FreeBuds Pro 4

For reference, Huawei FreeBuds Pro 3 was released in September last year with an initial price of 1,499 yuan . It is equipped with the Kirin A2 chip that uses Polar code, supports Star Flash connection core technology and Bluetooth technology, and the new L2HC 3.0 protocol.

Continue Reading

Most Popular