In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Android Software >
Share
Shulou(Shulou.com)05/31 Report--
Yesterday, Huawei officials said that HarmonyOS is new on Sample this week with five new examples, including JsFACard sample function, JsRouter sample, NativeImage sample, JsTimer sample and JsDevice example.
Sample1: update the JsFACard sample feature
Scenario: this example shows the service card function, through which important information about the user's application is displayed on the desktop. This time, the function of using cards through quick gestures has been added to achieve the purpose of direct service and reducing hierarchical jumps.
Sample2: new JsRouter exampl
Scenario: this example shows that the current page jumps to the specified page by clicking on the text content. Through the router interface to achieve the ability of page jump, as well as the transfer of parameters in the process of page jump.
Sample3: new NativeImage exampl
Scenario: this example shows how to declare the JNI interface and lock and access or unlock pixel data through the JNI interface, providing access to pixel data and pixel map information through Native_image.
Sample4: new JsTimer exampl
Scenario: this example sets the system time through the systemTime interface and the timer through the setTimeout () function.
Sample5: new JsDevice exampl
Scenario: this example queries device information, system properties, and battery and charging properties through deviceInfo, systemParameter, and batteryInfo interfaces, respectively.
Another 25 Sample have been integrated into DevEco Studio this week, as shown in the following table:
Developers can import examples directly through DevEco Studio, as follows:
1. Under DevEco Studio, click File > New > Import HarmonyOS Sample, and a Sample selection box will pop up.
two。 Select Sample and click "Next", the storage path selection box will pop up, click "Finish" after setting, and wait for Sample to download.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.