[android-developers] Closing the activity completely

2010-08-02 Thread Revathi K J Ramanan
Hi, Whenever the memory needs to be reclaimed, the process is being killed by ActivityManagerService in killPidsForProcess. I have a back button in my activity window on right corner of the title bar. I want to kill the activity completely on clicking the close button. Can I reuse the same

Re: [android-developers] Closing the activity completely

2010-08-02 Thread { Devdroid }
I want to kill the activity completely on clicking the close button. Can I reuse the same function and will it have any major effect? Why can't you just finish() and let OS do its job? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Closing the activity completely

2010-08-02 Thread raju bhusani
Yes, just use the finish() method to destroy the activity... On Mon, Aug 2, 2010 at 2:23 PM, Revathi K J Ramanan revathiramana...@gmail.com wrote: Hi, Whenever the memory needs to be reclaimed, the process is being killed by ActivityManagerService in killPidsForProcess. I have