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 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 function and will it have any major effect? > > Please help me out in this. > > Thanks in advance. > > Regards, > Revathi K J ramanan > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Thanks & Regards B.NagaRaju Software Engineer 9966990732 WWW.arijasoft.com -- 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