On Thu, Feb 9, 2012 at 5:17 AM, ashiq sayyad <[email protected]> wrote: > I want to achieve force stop functionality in my app on close button > click. > > Can anybody tell me how android handles force stop in settings-- >>manage applications screen. > > I tried using System.exit(0) & Process.killProcess(Process.myPid()); > But it kills the current activity & app launches the previous > activity..
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 Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

