[mono-android] AndroidManifest - intent filter to launch app from URL

devbuzz derek at fieldmetrix.com
Mon Jan 30 13:25:58 UTC 2012


I want to launch my application from a URL embedded in an email (with some
parameters).

I read the following StackOverflow question and it seems this is possible:
http://stackoverflow.com/questions/2958701/launch-custom-android-application-from-android-browser

However I'm having an issue getting the IntentFilter decoration to reflect
in the AndroidManifest xml.

This is what I'm using on my main launcher activity:

[Activity(MainLauncher = true, LaunchMode =
Android.Content.PM.LaunchMode.SingleTask)]
[IntentFilter(new[] { Intent.ActionMain }, DataScheme = "http", DataHost =
"android.devbuzz.com")]
public class SplashActivity : Activity

And I want to respond to the following link embedded in an email:

android.devbuzz.com://other/parameters/here android.devbuzz.com 

Can anyone shed some light on what I am doing incorrectly?

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/AndroidManifest-intent-filter-to-launch-app-from-URL-tp5441404p5441404.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list