On Fri, Jun 18, 2010 at 6:46 PM, Gregory Moore
<[email protected]> wrote:
> Android Market has a neat feature allowing  you to launch it using a
> url in the format of market:// ...   Is there an equivalent method for
> launching an application using a link?

You can declare support for a custom scheme via the <intent-filter>
for your Activity in the manifest. You may also need to be in the
BROWSABLE category. For example:

<intent-filter>
  <action android:name="android.intent.action.VIEW" />
  <action android:name="android.intent.action.DIAL" />
  <category android:name="android.intent.category.DEFAULT" />
  <category android:name="android.intent.category.BROWSABLE" />
  <data android:scheme="tel" />
</intent-filter>

I haven't experimented with this myself just yet, though I should be soonish.

-- 
Mark Murphy
CommonsWare
[email protected]
http://commonsware.com

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

Reply via email to