Saturday, April 2, 2011

Re: [android-developers] Custom Url support in Android

On Fri, Apr 1, 2011 at 11:52 AM, Can you help
<ranjeeth.devaiah@gmail.com> wrote:
> I have created a custom Url schee that can launch my application.
> myprotocol://link

That is not recommended, unless you are registering myprotocol with
the IETF or W3C or whoever handles that standard.

> The problem is that the email client that we are using make the link
> as text hence I a not able to launch the application. Is there a way
> through which I can ensure that the myprotocol gets automatically
> recognized by android application if the application is installed.

Use a recognized scheme, such as http://, the way Barcode Scanner and
similar apps do it.

> Converting of myprotocol  to standerd protocols like htto etc is not
> an option since this url scheme has been ported to other OS platform
> and this has to be done the same way on android too.

Then fix the other OS platform. You should not be inventing new
schemes there, either.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment