Android examples for android.os:Process
Kill my PID
public class Main { public static void finishKill() { android.os.Process.killProcess(android.os.Process.myPid()); }//from www . java2 s. c o m }