I am using following code:
for(int i = 0; i < numOfTasks; i++)
ActivityManager.RunningAppProcessInfo task = tasksP.get(i);
from task.processName
I am getting process package name e.g com.android.alarmclock
(running app)
I want to kill this application, is there anyway to do that ??