Thanks for your reply.. Is there any way using any package or API to get this thing done?
Regards Vinay On Aug 5, 4:27 am, Paul Turchenko <paul.turche...@gmail.com> wrote: > Look > athttp://developer.android.com/reference/android/Manifest.permission.ht... > > But I do agree with Mark. Please don't write anything like that. > > On Aug 4, 5:20 pm, Mark Murphy <mmur...@commonsware.com> wrote: > > > > > > > > > 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 willKILLa 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().execcommand giving me permission error > > > as the current user is not having permission. > > > Correct. You can'tkillprocesses. > > > > 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/commonsguyhttp://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