At 3:37 PM -0700 4/8/09, fadden wrote: >On Apr 7, 9:48 pm, manohar <[email protected]> wrote: >> Thanks, android.os.Process.killProcess(android.os.Process.myPid()); >> this got worked for me > >System.exit(), or possibly Runtime.halt(), are quite a bit simpler >(and more portable).
When I call System.exit() my application object is recreated and view stack restored to where it was -- only the activity that called System.exit() vanishes. Trying to end your application is like my job, no matter how much you want to, you just can't die. -- Ward --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

