Writy.
  • Home
  • HarmonyOS
    HarmonyOS 2 powered Huawei MatePad 10.4-inch

    Huawei MatePad 10.4-inch 2022 WiFi version getting 2.0.0.162 update

    Huawei Nova 9 Series

    June 2022: Huawei Nova 9 Series getting system optimization update

    Huawei HiCar 12.2.0.430 version

    Huawei HiCar 12.2.0.430 version released

    Huawei-MediaPad-M5-Series-HarmonyOS-Nov-2021

    Huawei MediaPad M5 Series update optimizes the display

    Huawei MatePad Paper ink tablet (3)

    Huawei MatePad Paper getting June 2022 patch update

    Huawei Nova 8 SE 4G May 2022 security patch update

    Huawei Nova 8 SE 4G receiving May 2022 security patch update

    Huawei MatePad SE

    Huawei MatePad SE getting May 2022 security update

    HarmonyOS 3.0 public beta

    HarmonyOS 3.0 (DB) public beta: These official devices will get HMOS 3

    Huawei Nova 6 Series HarmonyOS Update

    Huawei Nova 6 Series getting May 2022 security update

    Trending Tags

    • HarmonyOS 2
    • HarmonyOS 3
    • HarmonyOS History
  • EMUI 12
    Huawei EMUI 12 India and Asia Plan 2022

    Stable EMUI 12 update plan for India and Asia Pacific Market [Updated: June 24, 2022]

    Stable EMUI 12 update plan for Japan and Latin America

    Stable EMUI 12 update plan for Japan and Latin America

    Huawei EMUI 12 Russia and Middle East Plan Update Plan 2022

    Stable EMUI 12 update plan for Russia and Middle East [Updated: June 24, 2022]

    Huawei EMUI 12 Europe Plan

    Stable EMUI 12 update plan for Europe [Updated: June 23, 2022]

    Updated Huawei EMUI 12 plan for Global users 2022

    Updated EMUI 12 plan for Global users [June 23, 2022]

    Huawei Nova 8i

    May 2022 security update is now out for Nova 8i

    Huawei P40 Lite June 2022 security update

    Huawei P40 Lite getting June 2022 security update

    Huawei Nova 5T Update

    Huawei Nova 5T May 2022 security update is now circulating

    Huawei Mate 20 Pro May 2022 security update

    Huawei Mate 20 Pro grabbing May 2022 security update

    Trending Tags

    • EMUI 12
    • EMUI 11
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    Huawei IdeaHub Board 2

    Huawei launches IdeaHub Board 2 65-inch collaboration tablet

    Getting started with your Huawei FreeBuds 4i

    Getting started with your Huawei FreeBuds 4i

    Huawei and Avita Technology

    Huawei and Avita Technology signed a contract to build high-end cars

    Huawei P50 Pocket Leather Color

    Huawei P50 Pocket new leather color launching on July 4

    Huawei Nova 10 Pro

    Huawei Nova 10 Pro appeared on Geekbench

    Huawei Nova 10

    Confirmed: Huawei Nova 10 launching on July 4th

    Huawei Nova Y90

    Huawei Nova Y90 launched in global market

    FreeBuds Pro 2 Launched

    Huawei and Devialet jointly launch FreeBuds Pro 2

    Kirin 9000S and Kirin 9000 Huawei

    Huawei Mate 50 may launch with Kirin 9000S and Kirin 9000

    Trending Tags

    • Mate 50
    • P40
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip
No Result
View All Result
HU
  • Home
  • HarmonyOS
    HarmonyOS 2 powered Huawei MatePad 10.4-inch

    Huawei MatePad 10.4-inch 2022 WiFi version getting 2.0.0.162 update

    Huawei Nova 9 Series

    June 2022: Huawei Nova 9 Series getting system optimization update

    Huawei HiCar 12.2.0.430 version

    Huawei HiCar 12.2.0.430 version released

    Huawei-MediaPad-M5-Series-HarmonyOS-Nov-2021

    Huawei MediaPad M5 Series update optimizes the display

    Huawei MatePad Paper ink tablet (3)

    Huawei MatePad Paper getting June 2022 patch update

    Huawei Nova 8 SE 4G May 2022 security patch update

    Huawei Nova 8 SE 4G receiving May 2022 security patch update

    Huawei MatePad SE

    Huawei MatePad SE getting May 2022 security update

    HarmonyOS 3.0 public beta

    HarmonyOS 3.0 (DB) public beta: These official devices will get HMOS 3

    Huawei Nova 6 Series HarmonyOS Update

    Huawei Nova 6 Series getting May 2022 security update

    Trending Tags

    • HarmonyOS 2
    • HarmonyOS 3
    • HarmonyOS History
  • EMUI 12
    Huawei EMUI 12 India and Asia Plan 2022

    Stable EMUI 12 update plan for India and Asia Pacific Market [Updated: June 24, 2022]

    Stable EMUI 12 update plan for Japan and Latin America

    Stable EMUI 12 update plan for Japan and Latin America

    Huawei EMUI 12 Russia and Middle East Plan Update Plan 2022

    Stable EMUI 12 update plan for Russia and Middle East [Updated: June 24, 2022]

    Huawei EMUI 12 Europe Plan

    Stable EMUI 12 update plan for Europe [Updated: June 23, 2022]

    Updated Huawei EMUI 12 plan for Global users 2022

    Updated EMUI 12 plan for Global users [June 23, 2022]

    Huawei Nova 8i

    May 2022 security update is now out for Nova 8i

    Huawei P40 Lite June 2022 security update

    Huawei P40 Lite getting June 2022 security update

    Huawei Nova 5T Update

    Huawei Nova 5T May 2022 security update is now circulating

    Huawei Mate 20 Pro May 2022 security update

    Huawei Mate 20 Pro grabbing May 2022 security update

    Trending Tags

    • EMUI 12
    • EMUI 11
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    Huawei IdeaHub Board 2

    Huawei launches IdeaHub Board 2 65-inch collaboration tablet

    Getting started with your Huawei FreeBuds 4i

    Getting started with your Huawei FreeBuds 4i

    Huawei and Avita Technology

    Huawei and Avita Technology signed a contract to build high-end cars

    Huawei P50 Pocket Leather Color

    Huawei P50 Pocket new leather color launching on July 4

    Huawei Nova 10 Pro

    Huawei Nova 10 Pro appeared on Geekbench

    Huawei Nova 10

    Confirmed: Huawei Nova 10 launching on July 4th

    Huawei Nova Y90

    Huawei Nova Y90 launched in global market

    FreeBuds Pro 2 Launched

    Huawei and Devialet jointly launch FreeBuds Pro 2

    Kirin 9000S and Kirin 9000 Huawei

    Huawei Mate 50 may launch with Kirin 9000S and Kirin 9000

    Trending Tags

    • Mate 50
    • P40
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip
No Result
View All Result
HU
No Result
View All Result

Huawei HarmonyOS 2 adds new 5 sample examples

by Amit
September 7, 2021
in Huawei News, News
0
HarmonyOS Sample

HarmonyOS Sample

586
SHARES
3.3k
VIEWS
Share on FacebookShare on Twitter

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

You might also like

Huawei IdeaHub Board 2

Huawei launches IdeaHub Board 2 65-inch collaboration tablet

June 25, 2022
Getting started with your Huawei FreeBuds 4i

Getting started with your Huawei FreeBuds 4i

June 25, 2022

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

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

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.

●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:

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

Tags: HarmonyHarmony OS 2HarmonyOSHarmonyOS 2Huaweinews
Share234Tweet147ShareShareSend
Amit

Amit

I write about Huawei Latest News, EMUI Updates & more. I am also a fitness freak. For any information, tip or help send me an email at huaweiupdatenews@gmail.com

Recommended

Huawei Enjoy 50 Pro TENAA

Huawei Enjoy 50 Pro appeared on TENAA listing

June 23, 2022
Huawei Nova 8i

May 2022 security update is now out for Nova 8i

June 22, 2022

Popular Story

  • Updated Huawei EMUI 12 plan for Global users 2022

    Updated EMUI 12 plan for Global users [June 23, 2022]

    2667 shares
    Share 1067 Tweet 667
  • Download the latest Huawei Apps [Updated]

    1416 shares
    Share 566 Tweet 354
  • Download Huawei HMS Core 6.6.0.211 APK

    1220 shares
    Share 488 Tweet 305
  • Download Huawei Health 12.1 version 12.1.5.330 APK

    1948 shares
    Share 779 Tweet 487
  • Download the Huawei AppGallery 12.3.1.300 APK

    958 shares
    Share 383 Tweet 240

At HuaweiUpdate.com, you/users will get complete information of Huawei news, Huawei's new product launch, EMUI update news, and How-to guides.

  • About Us
  • Privacy Policy
  • Sitemap
  • Send A Tip

Copyright © 2022 HU

No Result
View All Result
  • Home
  • HarmonyOS
    • HarmonyOS History
  • EMUI 12
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip

Copyright © 2022 HU