-
Hi everyone, I'm new to Android development, Intents, and Unity in general. That said, I am required to use Unity to build my Android app due to a specific SDK requirement that basically powers my entire app. I am looking for a way to effectively emulate a Termux session inside my own terminal UI within my 3D Unity scene. I already have the UI setup, and have followed the instructions for setting up the RUN_COMMAND Intent described here. What I am looking for is an example of how one could issue this Intent with the extra "com.termux.RUN_COMMAND_BACKGROUND" set to true. As a super basic example, say I wanted to start a Termux session and simply send the command Where would I start? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The docs clearly have a example here However here is what you need Intent intent = new Intent();
intent.putExtra("com.termux.RUN_COMMAND_BACKGROUND", true);
startService(intent); |
Beta Was this translation helpful? Give feedback.
The docs clearly have a example here
However here is what you need