Adding DEFAULT didn't help, though I needed it anyway, but adding the schema does.
Thanks. Nathan On Jan 19, 6:51 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Add android: to your scheme attribute. > > If that does not help, try adding <category > android:name="android.intent.category.DEFAULT" /> along with the > BROWSABLE one. > > > > > > > > > > On Wed, Jan 19, 2011 at 6:29 PM, Nathan <critter...@crittermap.com> wrote: > > Thisintentfilter looks perfect(to me) to intercept a mapping url. > > > <intent-filter> > > <action android:name="android.intent.action.VIEW" /> > > <category > > android:name="android.intent.category.BROWSABLE"/> > > <data scheme="http" android:host="maps.google.com" > > android:pathPrefix="/maps"/> > > </intent-filter> > > > I have tried lots of other combinations too. > > > But I see this in the DDMS: > > > 01-19 15:13:48.378: INFO/ActivityManager(85): Starting activity: > >Intent{ act=android.intent.action.VIEW > > cat=[android.intent.category.BROWSABLE] dat=http://maps.google.com/ > >maps?q=12989%20NW%20SKYLINE%20B...@45.6168,-122.8727 cmp=android/ > > com.android.internal.app.ResolverActivity } > > 01-19 15:13:48.828: INFO/ActivityManager(85): Displayed activity > > android/com.android.internal.app.ResolverActivity: 376 ms (total 376 > > ms) > > > When the resolver activity comes up, this activity is *not* one of the > > three choices. > > > Anyone care to point out something dumb I've done wrong? It doesn't > > seem like this should be that hard. > > > Nathan > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 > Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en