Simple deep link
suggest changeAndroidManifest.xml:
<activity android:name="com.example.MainActivity" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http"
android:host="www.example.com" />
</intent-filter>
</activity>
This will accept any link starting with http://www.example.com
as a deep link to start your MainActivity
.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents