openharmony 鸿蒙 resourcemanager-switch

resourceManager Switching API in the FA ModelCorresponding .d.ts File in the Stage ModelCorresponding Field in the Stage Model getResourceManager(callback: AsyncCallback<ResourceManager>): void;
阅读全文

openharmony 鸿蒙 request-switch

request Switching API in the FA ModelCorresponding .d.ts File in the Stage ModelCorresponding API in the Stage Model download(config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void
阅读全文

openharmony 鸿蒙 request-permissions

Requesting Permissions If an application needs to obtain user privacy information or use system capabilities, for example, obtaining location information or using the camera to take photos or record v
阅读全文

openharmony 鸿蒙 redirection-rules

Redirection Rules Generally, UI redirection within an application is triggered by users. However, an application can call startAbility() to implement UI redirection. The PageAbility has a UI. It can u
阅读全文

openharmony 鸿蒙 process-model-stage

Process Model (Stage Model) Overview Processes serve as the fundamental units for resource allocation in the system and form the basis of the operating system's architecture. This topic describes the
阅读全文

openharmony 鸿蒙 process-model-fa

Process Model (FA Model) The process model is shown below. All PageAbility, ServiceAbility, DataAbility, and FormAbility components of an application (with the same bundle name) run in the same proces
阅读全文

openharmony 鸿蒙 particleability-switch

particleAbility Switching API in the FA ModelCorresponding .d.ts File in the Stage ModelCorresponding API in the Stage Model startAbility(parameter: StartAbilityParameter, callback: AsyncCallback<n
阅读全文

openharmony 鸿蒙 pageability-switch

PageAbility Switching The PageAbility component in the FA model corresponds to the UIAbility component in the stage model. To switch a PageAbility to a UIAbility, perform the following operations: Cre
阅读全文

openharmony 鸿蒙 pageability-overview

PageAbility Overview PageAbility is an application component that has the UI and supports user interaction. When you create a PageAbility in DevEco Studio, DevEco Studio automatically creates template
阅读全文

openharmony 鸿蒙 pageability-lifecycle

PageAbility Lifecycle The PageAbility lifecycle defines all states of a PageAbility, such as INACTIVE, ACTIVE, and BACKGROUND. The figure below shows the lifecycle state transition. Figure 1 PageAbili
阅读全文