Deep Links in Android

Jaspreet Singh
McAppMedia
Published in
Jun 27, 2020

When you want your app to be open while tapping on a link , it is deep linking.

How could we do this ?

We have intent-filter in android app, through that app will open will while tap on link.

<activity android:name=".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:scheme=”http”
android:host=”www.mcappmedia.com"
android:pathPrefix=”/blog” />
</intent-filter>
</activity>

Our deeplink will be http://www.mcappmedia.com/blog

If some one click on this link and if app has intent filter in their app , it will open app.

I have write another article for diffrence between deeplink vs deferred link

I have used deeplink in my app, you can check https://play.google.com/store/apps/details?id=com.mcmedia.kidslearningapp.

--

--

Jaspreet Singh
McAppMedia

Working in Android Developemen and Tech Mentor .My Github profile is: https://github.com/jaspreet1990 , Contact me at preetjaspreet90@gmail.com for more info.