Wednesday, August 24, 2011

[android-developers] Re: How to exit application

Very simple. If you are sure you are done, You could just kill
yourself using
android.os.process.killProcess(android.os.Process.myPid()); It's the
same as linux shell command "kill".

On Aug 24, 3:19 pm, GopalaKrishnan D <gopall...@gmail.com> wrote:
> i tried finish(); and System.exit(0);
>
> if i use any one means only current activity closed.... its not close entire
> app
>
> Which code i want to use close or exit entire app.
>
> --
> ~* Regards*
> *GopalaKrishnan D*

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment