On Mon, May 16, 2011 at 12:34 PM, Gregory Moore
<gregoryamoore...@gmail.com> wrote:
> I am wanting to use a custom schema for opening my application such as
> myschema://

That's a "scheme", not a "schema". A schema is a description of a
database layout (table structures, etc.).

> It works fine if I put that schema in a webpage as a
> link, but if I send an email with that link (even if an html email)
> the gmail client does not linkify the url making it so the user cannot
> click the link to open the application.

Correct.

> Has anyone else implemented custom schemas and been able to send the
> links in an email and have Android recognize them?

Use http://my.domain/something instead of myscheme://. The user will
need to agree to launch it in your app, though they can set that as
the default and not have to be prompted every time. Then, the URL will
work from wherever. As an extra bonus, you can use this in real Web
pages -- have the URL bring up some Web page on your site that leads
them to download the app, so those who have not downloaded the app
will still get useful results from the link.

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

Android 3.0 Programming Books: http://commonsware.com/books

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