1

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.

2 Answers 2

3

Use ProcessBuilder to create OS processes.

Sign up to request clarification or add additional context in comments.

2 Comments

+1: It's particularly good on POSIX platforms (i.e., Linux, OSX and all other Unix-based systems) because you can avoid having to reparse the command invocation by specifying the arguments as a list, and the max length of arguments is much longer.
I cant find the way to do this in my android with this solution and i rooted my android to try that solution but dont works, thank for all. :)
0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.