Android Shell Run KillProcess()

Here you can find the source of KillProcess()

Description

Kill Process

License

Apache License

Declaration

public static void KillProcess() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static void KillProcess() {
        android.os.Process.killProcess(android.os.Process.myPid());
    }//from   w ww  .j  av  a 2  s .  c o  m
}

Related

  1. runSuCommand(Context context, String command)
  2. runSuCommandAsync(Context context, String command)
  3. runSuCommandNoScriptWrapper(Context context, String command)
  4. getRoot(String loc)
  5. requestRootPermission(String path)