Hi,
I'm registering an intent-filter on an activity to listen for url
clicks from a certain domain:
<activity android:name=".ActivityTest">
<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="www.mywebsite.com" android:scheme="http"></
data>
</intent-filter>
</activity>
this works, but is there a way to filter out certain urls from my
domain? For example, my app can only do something useful for the user
if it gets a url like:
www.mywebsite.com/orange
but if the user clicks on a link like:
www.mywebsite.com/blue
I can't do anything useful for them, so I'd like to just let them
continue using the browser to open that url. Is there a way I get a
chance to see the URL before android pops up the chooser dialog and
presents my app as a possible handler for the url? Is there some
method in Activity which allows me to filter?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en