I'm not sure this fully answers your question, but you have some
control over this In your AndroidManifest.xml file.

http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity_clearTaskOnLaunch

This tag would go on the "front door" of your application, the
activity launched when you click on it in the launcher. It will tell
the system to destroy the entire task each time that activity is
launched, in effect tearing down all of the other activities that had
previously been started by the "front door" activity.

http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity_finishOnTaskLaunch

This allows you to selectively destroy various activities in your
task, instead of the whole thing. For example if your app creates a
task like A -> B -> C and you want B to go away the next time your app
is launched you can tag B with this and you'll get A -> C in your
task.

-Jeff

On Thu, Sep 4, 2008 at 9:32 PM, Scoz <[EMAIL PROTECTED]> wrote:
>
> Anybody know if there is a way to completely exit out of an
> application(thus removing it from the history by using the back button
> and such) from an activity other then the beginning launched activity?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to