How Can I Run Linux Commands On An Android Device?
Solution 1:
As far as i know, the only way to run shell commands is:
Process proc = Runtime.getRuntime().exec("your command");
Solution 2:
You can run Linux commands on Android. But there are usually just very few pre-installed. If you want to add more commands you might want to root your device and install busybox on it.
This is not for productive use within an application but can help you to work with your device.
Solution 3:
If you have the binaries for your system, you can run anything on your system.
Saying that you have to understand that you have to find the binaries for tar
.
Look here http://forum.xda-developers.com/showthread.php?t=872438
And possibly other places..
Solution 4:
You can probably get this done by using a Terminal Emulator app. As you wrote above, I don't know how well DOS commands will work. But, a Terminal Emulator works without root.
Solution 5:
You can install Termux app on your android device and run Linux command by using that app
Post a Comment for "How Can I Run Linux Commands On An Android Device?"