You can use the ActivityManager class to get a list of activities that are
considered to be "running" by Android.

In actuality they are paused, since you can only have one running activity
at a time.

You can also get a list of running processes via the ActivityManager class.
Unlike activities, processes actively run in the background.

On Aug 18, 2009 4:28 AM, "Jose Ayerdis" <[email protected]> wrote:



2009/8/18 Neilz <[email protected]>

> > > Where do all the activities go? > > What I mean is... My app contains
a list. When I click on...
I believe that Android (SO) manage the activity  itself on the
ActivityStack, so the ones that are inactive or stop are killed or asked to
close in order to keep a memory manage optimize thats why is strongly advice
to save you instance properties

remember the Activity LifeCycle you find the answer here
http://developer.android.com/reference/android/app/Activity.html


> > > > If I go back to the main menu and start my app, it behaves as if
it's > just started, so the...
well this is because you haven't saved your instance values (Bundles)


> > > > I'm working on the emulator here, naturally. >



-- 
Atte

[[Jose Luis Ayerdis Espinoza]]
http://blognecronet.blogspot.com

--~--~---------~--~----~------------~-------~--~----~ You received this
message because you are su...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to