Reading the Android documentation and some of the answers here (and on
StackOverflow) have left it ambiguous how clearTaskOnLaunch is
supposed to behave, specifically:

1) Does "clearing" the activity stack mean literally erasing it, or
having the activities cycle through onCreate() and finish()?

2) How is the root activity identified? Is it simply the one with the
DEFAULT, LAUNCHER or MAIN intent filters?

3) Launching from "home screen" in the documentation means the OS home
screen or applications list, correct? I.e. from not within an
application.

4) Does clearTaskOnLaunch clear the activity stack whenever that
activity is launched from the home screen, or just when that
activity's process is started from the home screen? Because the docs
indicate the former, but posts here indicate the latter. I guess this
depends on what the definition of "launch" is?

I've manipulated clearTaskOnLaunch in every way imaginable with
absolutely no effect. I've placed it in my root activity in the
manifest, then placed it in EVERY activity just to be sure, restarted
my application after killing the process entirely, etc. My activity
stack is simply not being cleared.

Can anyone offer (or point me to) a complete overview on how to
implement clearTaskOnLaunch?

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