I have already looked at most questions with similar topic and got how intent-filters work, but I cannot make android to launch my app. Here is the relevant part of manifest:
<activity
android:name=".UriHandler" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="myapp" />
</intent-filter>
</activity>
I try clicking the following link from the default browser:
<a href="myapp://param1/param2/param3">Test</a>
Instead of starting my app it just tries to load the URI as an address. What am i missing?
Update: To make it work you need to add
<category android:name="android.intent.category.BROWSABLE" />
to the intent, also ignore Lint and do not add
android:exported="false"
in my case it crushed Browser.