I am writing an app that wants to be able to handle URLs. I also want
to be able to launch it stand-alone with no arguments, so I've
specified two intent filters:

<intent-filter>
  <action android:name="android.intent.action.MAIN" />
  <category android:name="android.intent.category.LAUNCHER" />
 </intent-filter>
<intent-filter>
  <action android:name="android.intent.action.VIEW" />
  <category android:name="android.intent.category.DEFAULT" />
  <category android:name="android.intent.category.BROWSABLE" />
  <data android:scheme="http" />
  <data android:scheme="https" />
</intent-filter>

I have also specified android:launchMode="singleTask". Now, if I
explicitly launch my application from the application list, its name
and icon can be found in the "recent apps" list that pops up when I
hold the home key. If I then use the email application to open a URL
in my application, my application disappears from the "recent apps"
list. Why does this happen, and what can I do about it? I notice that
the Browser application doesn't behave like this, and it has similar
intent filters and the same launchMode.

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