I know there are couple SO question about that generally but I can't find an answer and it's annoying that the docs don't have a couple of examples. It would be better if you could link me a guide. However my actual problem is the following:
What should the [<path>|<pathPrefix>|<pathPattern>]
be in order to start my activity on:
http://www.example.com/e=VARIABLE
e.g.
http://www.example.com/e=foo
http://www.example.com/e=bar481
I have tried:
<data
android:host="www.example.com"
android:pathPattern="./e=.*"
android:scheme="http" />
and
<data
android:host="www.example.com"
android:pathPattern="/e=.*"
android:scheme="http" />
Also, I tried in the position of android:pathPattern
, path
and pathPrefix
.
I assume that I can use the foo
and the bar481
based on the second part here but I'm still struggling with starting the intent.
Docs: http://developer.android.com/guide/topics/manifest/data-element.html