I think 
android.os.Process.killProcess(android.os.Process.myPid());
does what you want.

среда, 2 января 2013 г., 18:21:45 UTC+3 пользователь laxman k написал:
>
> how terminate android application from  any activity and kill background 
> process
>
> i am use
> finsh();
> system.exit(0);
> System.runFinalizersOnExit(true);
> android.os.Process.killProcess(android.os.Process.myPid());
>
> these are only close te  current Activity....
>

-- 
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

Reply via email to