目录

Inter-Application Redirection

Overview

In the mobile ecosystem, users often need to complete a task (for example, browsing, placing an order, payment, and sharing) that spans multiple apps. Manually switching between apps at each step frequently interrupts user experience. To address this issue, the system provides the inter-app redirection capability, which delivers a seamless "one-tap access" experience through a unified link protocol and system-level routing. This significantly enhances user efficiency and satisfaction, ultimately boosting app conversion rates and user retention.

Common scenarios include:

Based on the certainty of the target app, inter-app redirection can be categorized into two main types.

This topic will delve into the principles and implementation solutions of various redirection methods, combining typical scenarios.

Typical Scenarios

[h2]Social Sharing Redirection

When users come across interesting content (such as articles, images, or videos) in a social app, they often want to share it with friends. When friends receive the shared link and tap it, they are directly taken to the specific content page of the original app, bypassing the need for a cumbersome search process. An example is provided below.

  1. User A sees an article in a social app and shares it with user B.
  2. When tapping the link, user B is directly taken to the article within the social app, rather than the home page of that app.
Figure 1 Screenshots of user B tapping the link to jump to the details page

By using the system sharing panel to share links that include App Linking, users can directly access the original content with a single tap. For more details, see Social Sharing Redirection.

[h2]Ad Redirection

When users see ads in a web browser, social media, or other channels and tap the ads, they expect to be taken directly to specific pages within an app, such as product details pages, event pages, or coupon collection pages. An example is provided below.

  1. A user sees an e-commerce promotion ad when starting a video app.
  2. After tapping the ad, the e-commerce app is directly opened, and the user is redirected to the promotion event page. This eliminates the need for users to search or navigate within the app, significantly improving the order conversion rate.
Figure 2 Screenshots of tapping the ad in a video app to jump to the details page of the car mall app

Use App Linking to implement precise redirection from an ad link to a specific app page, improving the marketing conversion rate. For more details, see Ad Redirection.

[h2]Special Text Recognition Redirection

Apps can recognize special text (for example, addresses, phone numbers, or dates) in chat content, emails, or documents. When tapped, these texts directly invoke the corresponding system applications to perform actions. An example is provided below.

  1. A user receives a text containing the phone number on the chat screen.
  2. The system automatically recognizes the phone number as a clickable link.
  3. Users can tap the link to open the dialing screen.
Figure 3 Screenshots of tapping the phone number on the chat screen to launch the dialing screen

By leveraging the system's text recognition capabilities to identify special text, apps can directly redirect users from text to functionality. For more details, see Special Text Recognition Redirection.

Technical Implementation

[h2]Launching a Specific Application

Launching a specific app refers to scenarios where the target app is explicitly specified for redirection. The system provides two main implementation modes:

App Linking and Deep Linking

Compared with Deep Linking, App Linking has the following advantages:

You are advised to use App Linking for security and user experience purposes. Compared with Deep Linking, App Linking provides higher security, prevents spoofing risks, and improves the overall user experience during app redirection.

System Application Redirection

The system provides certain capabilities and APIs that allow you to quickly implement redirection to system apps while ensuring secure access. Examples include redirection to Settings, AppGallery, Wallet, Phone, Calendar, and Contacts. For details, see Starting a System Application.

[h2]Launching Applications of a Specific Type

In some scenarios, you want to implement functionality based on user intent rather than a specific app. For example, users may want to use any installed map app for navigation.

In this case, you do not need to specify a particular app. Instead, the system queries all apps that meet the conditions on the device based on user intent, allowing users to choose one to execute the subsequent logic. For example, user A shares a geographical location with user B. After user B taps the message, the system displays all map navigation apps installed on the device, allowing user B to choose which app to use for subsequent operations. For details, see Starting an Application of the Specified Type.