1

Android destroying activities, killing processes

view story
linux-howto

http://stackoverflow.com – Hi I'm wondering how Android is managing memory and I can't find precise answer anywhere. Let's assume I have an application with 5 activities on current activity stack (4 are stopped and 1 is resumed), there is no service connected. I press HOME button so that all of my activities are stopped. I start some other memory consuming application and overall device memory is starting to be low. And the question is ... What will happen to my application? Can system destroy only one or some of my activities to recover memory? Will system kill the whole process of my application? Will all activiti (HowTos)