Force close android process from code

view full story

http://stackoverflow.com – I'm trying to develop a task killer. I succeeded to show all the process running on my device. When I try to kill a process using killProcess() or sendSignal() I can see in the logcat that my application sent the signal number 9 to the right process pid. After that when I check again in my application and in the phone current task I can see the process (Force close button is enabled) like nothing happened despite giving root rights to my application. I saw that this app can do it (but i didn't tested it) https://play.google.com/store/apps/details?id=com.laptopfreek0.taskkill&... Can (HowTos)