On Thu, Aug 4, 2011 at 2:12 PM, vinaykant <vinaykant.s...@gmail.com> 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 get. > > But the process.getruntime().exec command giving me permission error > as the current user is not having permission. Correct. You can't kill processes. > Please can any one help me out to get the permission through the > programmatic ? You can't. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en