android:path, Prefix, Pattern url parser -
i know there couple question can't find answer , it's annoying docs don't have couple of examples. better if link me guide. actual problem following:
what should [<path>|<pathprefix>|<pathpattern>]
in order start 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, tried in position of android:pathpattern
, path
, pathprefix
.
i assume can use foo
, bar481
based on second part here i'm still struggling starting intent.
docs: http://developer.android.com/guide/topics/manifest/data-element.html
solved with:
<data android:scheme="http" /> <data android:scheme="https" /> <data android:host="example.com" /> <data android:host="www.example.com" /> <data android:pathprefix="/e=" />
Comments
Post a Comment