On Mon, Aug 2, 2010 at 4:53 AM, Revathi K J Ramanan <revathiramana...@gmail.com> wrote: > 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?
Just call finish(), please. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en