You can also use *android.os.Process.killProcess(android.os.Process.myPid())
* . I hope it helps

On Wednesday, January 2, 2013 8:51:45 PM UTC+5:30, laxman k wrote:
>
> 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 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

Reply via email to