I don't know, but you can save each activitie in a static list.

2009/8/10 Blackmarket <[email protected]>

>
> Is there a way to access all Activities of an Application? My Problem
> is, that i don't know how to access other activities to close them.
>
> On 10 Aug., 12:49, Alessio Grumiro <[email protected]> wrote:
> > you have to close all application's activities! When you change activity,
> > you have to call finish() on old activity, so just one activity is shown
> on
> > screen and in stack.
> >
> > 2009/8/10 Blackmarket <[email protected]>
> >
> >
> >
> > > Doesn't work. It just closes the active Activity and changes to the
> > > last Activity. Actually it has the same effect like finish()
> >
> > > Regards, Pascal
> >
> > > On 10 Aug., 11:54, Carl Whalley <[email protected]> wrote:
> > > > System.exit(0)
> >
> > > > --
> > > > Android Academyhttp://www.androidacademy.com
> >
> > > > On Aug 10, 10:36 am, Blackmarket <[email protected]> wrote:
> >
> > > > > Hi,
> >
> > > > > i want to add an exit button to the menu, but didn't see an easy
> way
> > > > > to close an application or acces all activities of an application
> and
> > > > > finish them. Is there an easy approach avaible?
> >
> > > > > Regards, Pascal
> >
> >
> >
>

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