As I now understand, Android will start the top-most activity even after killing the process due to resource shortage. (see http://groups.google.com/group/android-developers/browse_thread/thread/68a101144b9660f9# )
My root activity is responsible for some initialization code that I wouldn't like to bother-with from other activities. Questions: 1. Any way to change this behavior and ask Android to clear the task when killing my process ? 2. If not, what will happen if the user press BACK in such scenario ? will Android re-create the next activity in the stack ? i.e. stack has activities A,B,C. process is killed. User re-selects my app, Android creates *C*, user presses BACK. will Android now create B ? Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en