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 an item, I > fire up a new activity. Potentially I could do the same again, and > again. Are all these activities still running? If so, how can I switch > between them, or view a list of which activities are running?
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 there's no evidence of any of the other activities > still running. 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 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 -~----------~----~----~----~------~----~------~--~---

