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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -