harmony 鸿蒙Using Explicit Want to Start an Application Component

  • 2023-02-03
  • 浏览 (708)

Using Explicit Want to Start an Application Component

When a user touches a button in an application, the application often needs to start a UIAbility component to complete a specific task. If the abilityName and bundleName parameters are specified when starting a UIAbility, then the explicit Want is used.

Using Explicit Want

The user touches a button in the application to start the UIAbility component to complete a specific task. To start the UIAbility component in explicit Want mode, the abilityName and bundleName parameters must be specified. For details, see Starting UIAbility in the Same Application.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Application Models

harmony 鸿蒙Using Implicit Want to Open a Website

harmony 鸿蒙AbilityStage Component Container

harmony 鸿蒙Accessing a DataAbility

harmony 鸿蒙Accessing a DataShareExtensionAbility from the FA Model

harmony 鸿蒙AccessibilityExtensionAbility

harmony 鸿蒙Common action and entities Values

harmony 鸿蒙API Switching Overview

harmony 鸿蒙Switching of app and deviceConfig

harmony 鸿蒙Application- or Component-Level Configuration (FA Model)

0  赞