I don't know the answer but interested why would you want to do that?

----- Original Message ----- 
From: "Anshul" <[email protected]>
To: "Android Developers" <[email protected]>
Sent: Thursday, January 29, 2009 10:33 PM
Subject: [android-developers] Is it possible to run ADB shell command from 
inside an Android app


>
> I am trying to run an ADB shell command from inside an android app
> using the JAVA's Runtime.getRunTime.exec API. I am getting an error
> "ERROR/ProcessManager(1041): Error running adb: Permission denied".
> Wanted to check if there is any permission that I need to request to
> get it working or that running the adb shell command would not be
> allowed from with in the Android app.
>
> I am able to execute other linux commands like 'ls' from the android
> app though.
>
> Thanks,
> -Anshul
>
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to