Timeline for How to run ADB command programmatically on rooted android device
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 22, 2018 at 13:45 | comment | added | ckaraboran | @m9m9m Are you sure that your device is a rooted device? If it is not rooted you can't use "su" command. But other commands will work. | |
May 22, 2018 at 13:16 | comment | added | m9m9m | @ckaraboran, i tried as you guide, I'm getting this error can you please check Cannot run program "su": error=13, Permission denied I need to execute ADB shell commands in Android Application. LMK your suggestions. | |
Mar 13, 2018 at 11:09 | comment | added | ckaraboran | @pratiti-systematix No need. When you use su command with exec, shell will become the process. So it will accept all new commands. But I added another samples for different situations. | |
Mar 13, 2018 at 11:05 | history | edited | ckaraboran | CC BY-SA 3.0 |
I added new ways to do it.
|
Mar 13, 2018 at 9:57 | comment | added | pratiti-systematix | do you not need to execute this process like p.exec(); ? | |
Mar 13, 2018 at 8:57 | comment | added | ckaraboran | @KeivanEsbati thanks for reminding. I edited the post. | |
Mar 13, 2018 at 8:49 | history | edited | ckaraboran | CC BY-SA 3.0 |
added 280 characters in body
|
Mar 13, 2018 at 8:40 | comment | added | Keivan Esbati | Please provide a short description about what this block of code does. | |
Mar 13, 2018 at 8:38 | review | First posts | |||
Mar 13, 2018 at 8:40 | |||||
Mar 13, 2018 at 8:30 | history | answered | ckaraboran | CC BY-SA 3.0 |