Add termux as 3rd party library #3699
-
is there a way we can add termux bash emulator as library to our android app? . |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can start commands via intents. https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent |
Beta Was this translation helpful? Give feedback.
-
If you want to integrate termux into your own app instead of termux being installed separately, it is possibly, but currently there is no library for it, but is planned. But you can do it. Check forking. You will have to compile bootstrap for your app package, possibly without apt/dpkg and other unneeded packages. On the app side, check |
Beta Was this translation helpful? Give feedback.
If you want to integrate termux into your own app instead of termux being installed separately, it is possibly, but currently there is no library for it, but is planned. But you can do it.
Check forking. You will have to compile bootstrap for your app package, possibly without apt/dpkg and other unneeded packages. On the app side, check
TermuxActivity
which holds the terminal and starts theTermuxService
, which holds theTermuxSession
.