My test uri string is
http://test.host.com/path/test.html?key1=val1&key2=val2
And I make intent-filter in manifest
A. scheme & host (It works but I do not want)
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<data
android:scheme="http"
android:host="test.host.com"
/>
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
B. A & path(pathPrefix, pathPattern) (Not worked)
<data
android:scheme="http"
android:host="test.host.com"
1. android:path="path/test.html" -> not worked (link to chrome broswer)
2. android:path="path" -> not worked (link to chrome broswer)
3. android:pathPrefix="path" -> not worked (link to chrome broswer)
4. android:pathPattern="user/invite.*" -> same (I do not know pattern)
/>
I want to start my app when only (path/test.html),
You are missing the slash at the beginning. The following should work:
android:path="/path/test.html"
OR
android:pathPrefix="/path/test.html"