开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜