Re: [android-developers] How to execute KILL -9 pID command

2011-08-04 Thread Mark Murphy
On Thu, Aug 4, 2011 at 2:12 PM, vinaykant wrote: > I am new baby in android development and developing an application > which will KILL a running application (ex. com.example.helloWorld). Please don't. > I tried process.getruntime().exec("kill -9 211"), here 211 is the pID > which I am able to g

[android-developers] How to execute KILL -9 pID command

2011-08-04 Thread vinaykant
Hi All, I am new baby in android development and developing an application which will KILL a running application (ex. com.example.helloWorld). I tried process.getruntime().exec("kill -9 211"), here 211 is the pID which I am able to get. But the process.getruntime().exec command giving me permiss