In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >
Share
Shulou(Shulou.com)11/24 Report--
Thanks to CTOnews.com netizen cuiyh for the clue delivery! CTOnews.com, November 14, according to Huawei HarmonyOS developers, Huawei released HarmonyOS version 3.0 Release in 2022. In order to further meet developers' demand for efficient application development, Huawei launched HarmonyOS version 3.1 at the Huawei developer Conference HDC2022 on November 4 of the same year.
HarmonyOS version 3.1 mainly focuses on ArkTS development language, and the number of ArkTS API will also reach 10000. the main API capabilities include: enhanced declarative UI capability, a new application development model-- Stage model, and updated or enhanced in DFX, Web component development, international development, communication interconnection, media software and other subsystem capabilities, these capabilities indicate that HarmonyOS has entered the declarative development stage of ArkTS language.
The following is an introduction to the key features of HarmonyOS 3.1.
Declarative UI capability ArkUI is a declarative UI development framework for building HarmonyOS application interfaces. It helps you improve the efficiency of UI application interface development through concise and natural HarmonyOS information description syntax, rich UI dynamic effects components and API, as well as enhanced one-time development and multi-end deployment capabilities.
CTOnews.com learned that ArkUI currently supports more than 70 UI components, including Canvas, XComponent, DatePicker and so on, and provides rich responsive layout and adaptive layout capabilities.
The specific new and enhanced capabilities are as follows:
1. Declarative 2D / 3D rendering ability
1) add Canvas rendering capability, support W3C standard Canvas interface, and combine declarative UI paradigm to enhance the custom rendering ability of application developers.
2) build C++/TS mixed development capability through XComponent components and NDK capabilities to support the development of games and media applications.
2. Improvement of layout ability
1) flattening layout ability to improve layout efficiency
2) Custom layout ability, the layout is more flexible and customizable
3. Component capability improvement
1) promote the use of column architecture components
2) list components use promotion
4. Event normalization of multi-device interaction
After interaction normalization, developers do not need to pay attention to the current device and input device type, but only need to make a logical response in the interaction normalization event interface.
Interactive normalized application development model-Stage model as a supplement to the FA model, the application development framework introduces the Stage model as the second application development model. The Stage model includes life cycle management, scheduling, callback, context acquisition, authentication and so on, which greatly enhances the running management ability of the application. The key features of Stage model are as follows:
1. Redefine the application running rules to fundamentally solve the problem of preempting system resources in the background.
1) decrease in the number of background resident processes
2) reduced memory overhead of background resident processes
3) background processes behave in a more orderly manner
4) the resources required by the foreground process can be fully guaranteed
Redefine application operation rules 2. Logic is decoupled from UI, and application exception recovery is normalized with application migration logic across devices.
1) UI is decoupled from logic, and UI is data-driven
2) to apply exception recovery, you only need to load critical node data.
3) when transferring across devices, the application also loads critical node data.
Logic is decoupled from UI 3. Multi-device application model is normalized, which is more conducive to one-time development and multi-terminal deployment of applications.
The UIAbility life cycle and window display / focus event separation of the Stage model unifies the UIAbility model in multi-device form and promotes the simplicity of multi-device compatible application code.
Relationship between window state and UIAbility life cycle DFX1 and CPU time-consuming tuning
It is used to track the key processes in the process of code execution under high CPU load scenarios, and it is time-consuming to measure and analyze hot functions.
CPU time-consuming tuning 2. Memory allocation tuning
By tuning common problems such as excessive memory allocation and memory leaks, developers can quickly find the context of the memory life cycle.
Memory allocation tuning 3, HiAppEvent (application burying point framework)
Provide HarmonyOS application event preembedding, predefinition, custom event burying point, storage, distribution, subscription framework. Developers in the application can integrate SDK to access big data Cloud and obtain buried data through HiAppEvent subscription mechanism.
Web component development this update supports document class Web application document preview and basic editing functions, and supports image-text mixed content copy and paste across devices. Support rapid ecological migration of document-like Web applications under the unified W3C standard, with small workload of adaptation and low debugging cost; support cross-device copy and paste of image-text mixed content, solve the problem of image loss of rich text content copied across devices, and improve the mobile office experience.
International development-pseudo-localized debugging supports pseudo-translation replacement of interface language, text length extension, text boundary testing. Developers do not need to add pseudo-translation resources to App to test, and can quickly debug by switching system languages to en-XA areas.
Communication Interconnection 1. Http enhancements
Including support for caching, support for concurrent framework, support for gzip compression, support for specified data return format.
2. Support TLSSocket
The client can specify certificate, key, CA and other secure transmission options, initiate a connection to the server, and establish a TLSSocket connection to support TLSv1.2 and TLSv1.3.
Media software 1, audio and video playback, recording, codec
1) Audio and video playback, including: local playback, online playback
2) Audio and video recording, including audio recording and video recording
3) Audio and video codec, including: audio soft codec, video hard codec, support H264
2. The camera supports preview, photo and video recording functions.
1) basic camera capabilities, including: basic preview, basic photography, basic video recording
2) support basic parameter control: flash, focus, zoom, etc.
Distributed data management distributed data provides applications with distributed collaboration capabilities of databases between different devices (KVStore supports distributed, RDB only supports local).
In addition to the above key features, HarmonyOS 3.1 will also have varying degrees of update or enhancement in security basic capabilities, network management, package management, test framework, file management, resource scheduling, USB services, input method, printing, location services, accessible software services, user IAM, windows, phone services, distributed soft bus, power services, event notification and other subsystems.
The major updates of the above version of HarmonyOS 3.1 will be gradually made available in subsequent developer versions. Finally, let's take a look at the update rhythm of HarmonyOS 3.1:
Release feature guidepost "Huawei Hongmeng Development Suite" launched and launched ArkTS language, HarmonyOS 3.1 developer preview release "
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.