On Mon, Dec 27, 2010 at 3:40 AM, Abhilash baddam <abhilash.androiddevelo...@gmail.com> wrote: > Hi , > I am new to android. How can we exit from application...For example if > we have 3 activities each activity consists one button..when we click on a > button which may be from any activity, i want to exit from application and > it should go home screen. again if we start the application from emulator it > should start from the beginning of the application. How can we do this.?
You don't, any more than clicking a button in a Web browser should crash the browser, just because you do not want your pages to be seen anymore. http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon/2034238#2034238 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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