Android: Handling Links using IntentFilter -
I'm having trouble trying to handle the following link using an IntentFilter.
http://www.fakedomain.com/clubs/players/<playerId>/<hobbies> And a real life example would be something like this:
And this is my IntentFilter
& Lt; Activity ...... & gt; & Lt; Intent-Filter & gt; & Lt; Action Android: name = "android.intent.action.VIEW" /> & Lt; Category android: name = "android.intent.category.DEFAULT" /> & Lt; Category android: name = "android.intent.category.BROWSABLE" /> & Lt; Data Android: scheme = "http" Android: host = "www.fakedomain.com" Android: path = "/ club / player / *" /> & Lt; / Intent-Filter & gt; & Lt; / Activity & gt; I have tried to follow Android: The path and none of them work:
android: path = "/ clubs / players /.*/.* "Android: path =" / club / players / * / * " I am able to control the following link
< / P>
But it is useless because the full path from this link is missing.
I've read through a few other examples that have been shown from a Google search, but I still can not handle the link, it's likely that I'm doing something completely stupid.
Any help would be appreciated.
and this is my intent filter
Android: Path does not accept wildcards. This is Android: Pathparten . android: pathPrefix anyway. You can be better served by using .
Comments
Post a Comment