T
Termux5d ago
Demo

Is there a way to quietly open Termux from another app?

I am developing an app in flutter and I want it to start up a nodejs server I've built in termux. I've set everything up so that it works as expected with the RUN_COMMAND intent. However, I've noticed that I get an error running the intent if termux isn't running in the background. I understand that this is an Android security issue, but I wanted to ask you guys there was anything I could do to elevate this issue? Right now I have an intent to open the termux app from my app, but it's pretty bad UX, so I was wondering if there was anything I could do on termux's side to make this better? Any and all ideas would be welcome. Thanks!
4 Replies
FZXO
FZXO5d ago
GitHub
GitHub - termux/TermuxAm: Android Oreo-compatible am command reimpl...
Android Oreo-compatible am command reimplementation. - termux/TermuxAm
Demo
DemoOP5d ago
oh interesting, could you give more context for how'd I use this?
FZXO
FZXO5d ago
sorry i don't know much but i know it can help with your case.
komo
komo3d ago
you can also use Termux:Widget or Termux:Tasker to start your server immediately

Did you find this page helpful?