How to execute commands with Android SDK like a terminal?
I want to develop a terminal app in Android.
In C#, we have:
System.Diagnostics.Process.Start("path of aplication")
Its like running a program开发者_运维知识库 directly because each command is a program in Windows. I don't know how it works in Linux.
Use ProcessBuilder to create OS processes.
I find other solution, thank for all guys
http://saurabh-nigam.blogspot.com/2010/10/running-android-native-code.html
this project make the same: https://github.com/gimite/android-native-exe-demo
精彩评论