I have one in
http://github.com/commonsguy/cw-advandroid/Introspection/URLHandler (though
that URL is from memory, as I am sitting in a conference keynote right
now...)

Mark Murphy
mmur...@commonsware.com
On Nov 7, 2011 8:35 AM, "Neilz" <neilhorn...@gmail.com> wrote:

> Right, I see. No, the path option doesn't make a difference, it still
> offers me a choice of apps to open with.
>
> Ok, it's the other approach that I'm struggling to find an example
> for. Just lots of messages discussing it! The appears to be an example
> on the following page, but it simply doesn't work for me:
>
> http://stackoverflow.com/questions/2430045/how-to-register-some-url-namespace-myapp-app-start-for-accessing-your-progr/2430468#2430468
>
> On Nov 7, 4:08 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> > Correct. You will note that in Ms. Hackborn's answer, she cites two
> > approaches to the problem. You are taking one approach. The quotes you
> > used are for the other approach.
> >
> > BTW, try putting an android:path attribute on your <data> element and
> > see if it then only opens up in your app vs. giving you the chooser. I
> > know this works for NFC and NDEF and I can never remember if it works
> > for HTTP URLs as well. I know that this is what Barcode Scanner uses
> > to initiate a scan fro
> >
> > --
> > 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 Android Development_ Version 3.6 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
>

-- 
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

Reply via email to