So I'd like my activity to catch when an intent (browser) calls the link:
http://host/info?username=samplename
and not when:
http://host/info?username=noname
Here is my code coming from AndroidManifest.xml
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>\
<data android:host="host" android:pathPrefix="/info?username=samplename" android:scheme="http"></data>
</intent-filter>
I have it working for a simple prefix such as android:pathPrefix="/info" But I have problem with the character ? I tried using \? but doesn't work http://developer.android.com/guide/topics/manifest/data-element.html#path
Anybody would have any idea?
Thanks