android - intent filter pathPrefix with question mark -


i want set intent filter handle urls like: http://mysite.com/?action=delete&id=30492

i've tried setting intent-filter follows:

<intent-filter> <action android:name="android.intent.action.view" /> <category android:name="android.intent.category.default" /> <category android:name="android.intent.category.browsable" /> <data android:scheme="http" android:host="mysite.com" android:pathprefix="/?action="/> </intent-filter> 

however, doesn't work, , app not recognized being able handle url. know it's because i'm doing wrong pathprefix because when remove pathprefix works. know it's related having question mark in there because if remove question mark url , pathprefix, works.

do need escape question mark in way? tried escaping slash (android:pathprefix="/\?action=") doesn't work either.

how can intent filter work?

the query string (?action=... in example) not part of path. afaik, cannot filter on query strings.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -