Mark Wyszomierski wrote: > 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?
Have you tried android:pathPrefix or android:pathPattern? http://developer.android.com/intl/de/guide/topics/manifest/data-element.html > 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? No, sorry. > Is there some > method in Activity which allows me to filter? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- 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

