Huawei H14-231_V1.0 - HCIP-HarmonyOS Application Developer V1.0
After the user enters a piece of text, with the help of the part-of-speech annotation interface, the application can perform automatic word segmentation, and label each word in the word segmentation result with a correct part of speech. However, the part-of-speech tagging feature provided by HarmonyOS only provides a fixed word segmentation granularity, and developers cannot customize the word segmentation granularity as needed when developing applications.
A HarmonyOS application may not contain a hap package of the feature type.
The callback mechanism provided by the Ability class can enable the Page instance to switch in the background following the user's operation.
Service is running in the background, and users want the application to keep running all the time when playing music, and the foreground Service cannot be used at this time.
HarmonyOS not only has the system capability of a single device, but also supports deployment on multiple devices with different memory sizes based on the same set of system capabilities
JavaScript FA (Feature Ability) lifecycle events are divided into application lifecycle and page lifecycle.
HarmonyOS's distributed soft bus enables distributed management of application data and user data.
Frame rate is the frequency (rate) at which a bitmap image appears continuously on a display in frames, measured in hertz (Hz).
When a time-consuming operation needs to be performed in a HarmonyOS application, it is preferable to create subthreads in FA instead of creating subthreads in Service.
Operations such as the display and update of the UI interface are carried out on the main thread, so the main thread is also called the UI thread.
When using EventHandler to implement inter-thread communication, if EventRunner takes out the InnerEvent event, EventRunner will directly process the event on the new thread.
If you need to use a composite animation, you can combine multiple animation objects and add them to the AnimatorGroup. AnimatorGroup provides two methods: runserially() and runParallel(), which indicate that the animation starts sequentially and the animation starts at the same time, respectively
HarmonyOS provides access to external storage devices, such as USB flash drives, SD cards, etc.
When designing a JavaScript UI based on HarmonyOS, if the text component itself cannot be focused, the focus cannot be moved to the component, and the focusableattribute of text is set to true. text component.
The input division method of HarmonyOS is different from that of traditional operating systems, and multi-dimensional inputs will be integrated, so that developers can use application frameworks, UI components or interfaces that come with the system to implement applications with multi-dimensional and natural interaction characteristics.