openharmony 鸿蒙 uiability-data-sync-with-ui

Data Synchronization Between UIAbility and UI Page Based on the application model, you can use any of the following ways to implement data synchronization between UIAbility components and UI pages: Us
阅读全文

openharmony 鸿蒙 thread-model-stage

Thread Model (Stage Model) A thread is the basic unit for the operating system to perform computing and scheduling. It is an execution flow within a process and shares the resources of the process. A
阅读全文

openharmony 鸿蒙 thread-model-fa

Thread Model (FA Model) There are three types of threads in the FA model: Main thread Manages other threads. Ability thread One ability thread for each ability. Distributes input events. Draws the UI.
阅读全文

openharmony 鸿蒙 storage-switch

Storage Switching API in the FA ModelCorresponding .d.ts File in the Stage ModelCorresponding API in the Stage Model GetStorageOptionsThere is no corresponding API in the stage model.The stage model u
阅读全文

openharmony 鸿蒙 stop-pageability

Stopping a PageAbility The terminateSelf() method in the featureAbility class is used to stop a PageAbility. Table 1 featureAbility APIs APIDescription terminateSelf()Terminates this ability. terminat
阅读全文

openharmony 鸿蒙 start-uiability-from-fa

Starting a UIAbility from the FA Model This topic describes how the three application components of the FA model start the UIAbility component of the stage model. PageAbility Starting a UIAbility A Pa
阅读全文

openharmony 鸿蒙 start-serviceability

Starting a ServiceAbility A ServiceAbility is started in the same way other abilities. You can start a ServiceAbility by calling featureAbility.startAbility() in the PageAbility or calling particleAbi
阅读全文