I have the following intent filter for my activity (I am trying to test redirecting Android's default browser to my app):
<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.iana.org"/>
</intent-filter>
When I browse Android' default browser to www.example.com, it has a link to http://www.iana.org/domains/example, but clicking that doesn't take the user to my activity.
What is missing in my intent filter ?
I am testing on Android 4.4
using Genymotion VM
with Android Studio
.