titusfx
titusfx

Reputation: 2006

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.

Upvotes: 1

Views: 762

Answers (2)

titusfx
titusfx

Reputation: 2006

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

Upvotes: 0

KV Prajapati
KV Prajapati

Reputation: 94645

Use ProcessBuilder to create OS processes.

Upvotes: 3

Related Questions