How to filter only specific URL with intent filter
You want to either use path, pathPrefix
, or pathPattern
, according to the docs here.
In your case, either pathPattern
or pathPrefix
will work,
pathPattern="mobile/*"
or
pathPrefix="mobile"
However, that does not explain why your filter is matching all URIs. it should be matching none since path does not understand "*". i suspect there is something added / missing from somewhere else in your code.
Try this:
<data android:host="gaapa.cz"
android:pathprefix="mobile/"
android:scheme="http" />