Re: [android-developers] Problems with Activity.finish()

2009-12-01 Thread Dianne Hackborn
Please do not use System.exit(). Your process is kept around after the user exits, by design, so it doesn't need to be re-initialized if they return to it soon after. This is the way things are supposed to work. If you have lots of data in statics, you should add something to remove the referenc

[android-developers] Problems with Activity.finish()

2009-12-01 Thread Sujoy Ghosh
Hi, I have been facing problems to manage statics variables used in my android application. If we exit the application against a particular event (touch or key event -which is must for my app), all the statics variables are retaining the values when I am launching it again. I am invoking Activity.