harmony 鸿蒙Using Explicit Want to Start an Application Component

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

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.

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 鸿蒙Ability Kit

harmony 鸿蒙Obtaining Reasons for Abnormal Application Exits

harmony 鸿蒙UIAbility Backup and Restore

harmony 鸿蒙Introduction to Ability Kit

harmony 鸿蒙AbilityStage Component Container

harmony 鸿蒙Accessing a DataAbility

harmony 鸿蒙Accessing a DataShareExtensionAbility from the FA Model

harmony 鸿蒙Common action and entities Values (Not Recommended)

harmony 鸿蒙API Switching Overview

harmony 鸿蒙Switching of app and deviceConfig

0  赞