I'm going to implement this scenario:
www. example.com -> Start up my App
http:// example.com -> Start up my App
http:// www.example.com -> Start up my App
https:// example.com -> Start up my App
https:// www.example.com -> Start up my App
But...
http:// example.com/dont/start/app -> Open the link in default browser.
by using intent-filter all the times it will open my app.
<activity
android:name=".MainActivity"
android:label="@string/app_name">
<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" />
<data android:scheme="https" />
<data android:host="example.com" />
</intent-filter>
</activity>