Add the following configuration fragment to the Android app’s Androidmanifest.xml:

<action android:name="my_action"/>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="my_scheme" android:host="my_host" />
Copy the code

Then add the following tags to the web page:

<a href="intent://my_host#Intent; scheme=my_scheme; action=my_action; end">Link to my stuff</a>
Copy the code

Open the Web page on your phone and click on the hyperlink to automatically open the Android app:

For more of Jerry’s original articles, please follow the public account “Wang Zixi “: