Application redirection enables users to jump from one application to another to transfer data or perform a specific action. It improves the convenience and smoothness of user interactions.
Application redirection is widely used in social media sharing and marketing promotions. Examples are as follows:
Starting a Specified Application: The caller application specifies the target application by specifying either an application link and an ability.
Starting from API version 12, it is not recommended that third-party applications start other applications by specifying an ability (implicit Want mode). For details about how to switch from the implicit Want mode to the linking mode, see Switching from Explicit Want Redirection to Linking Redirection.
Specifying an application link (recommended): Use openLink or startAbility to specify an application link and start the target application page.
Specifying an ability (not recommended): Use startAbility to specify an ability and explicitly start the target application page. This is the explicit Want mode.
Starting an Application of the Specified Type: The caller application starts a vertical domain panel based on the specified application type. The panel displays all the vertical applications that can handle the intent, and users can choose to open one of them.
Starting a system application is a typical scenario of application redirection. The system provides some capabilities and interfaces for you to quickly implement system application redirection while ensuring access security. For details, see Starting a System Application.