You can send the signal using:
Process.sendSignal(pid, Process.SIGNAL_KILL);
To completely kill the process, it’s recommended to call:
ActivityManager.killBackgroundProcesses(PackageName)
before sending the signal.
You can send the signal using:
Process.sendSignal(pid, Process.SIGNAL_KILL);
To completely kill the process, it’s recommended to call:
ActivityManager.killBackgroundProcesses(PackageName)
before sending the signal.