Use this method:
public static void KillApp(){
System.runFinalization();
System.exit(0);
}
Plus:
If your Android application runs on a Blackberry OS 10 use this method:
public static void KillApp(){
android.os.Process.killProcess(android.os.Process.myPid());
}
Jorgesys