Replies: 2 comments 4 replies
-
I run Termux as foreground service and also is it possible to keep Termux activity open on completion and get back to my app on "back"press? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Check android system logcat for more info on why result is not being sent back. Also increase termux app log level. Disabling battery optimizations is normally a good idea for both apps. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In my android app I'm executing mapillary_tools (python scripts) via Termux Intent, when I have small number of images or execute some "fast" commands everything is fine and I can get stdout results in PluginResultsService. In some cases when there is a large amount of files processing can take about 5 minutes or more. Termux works fine, but after completion PluginResultsService isn't called. Should I set some timeout or disable some battery optimization or something?
PS As IntentService (PluginResultsService extends IntentService in examples) is deprecated I have switched to Service, except the case described above it works fine in other cases.
Beta Was this translation helpful? Give feedback.
All reactions