From 7c2a42556426b29e0b5b0d60035fbd538dd7b7e5 Mon Sep 17 00:00:00 2001 From: agnostic-apollo <31106828+agnostic-apollo@users.noreply.github.com> Date: Thu, 8 Apr 2021 03:54:45 +0500 Subject: [PATCH] Updated RUN_COMMAND Intent (markdown) --- RUN_COMMAND-Intent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RUN_COMMAND-Intent.md b/RUN_COMMAND-Intent.md index 7416fd5..4cb2c18 100644 --- a/RUN_COMMAND-Intent.md +++ b/RUN_COMMAND-Intent.md @@ -131,7 +131,7 @@ am startservice --user 0 -n com.termux/com.termux.app.RunCommandService \ ### Advance Examples -Its probably wiser for apps to declare the [`termux-shared`] library as a dependency and import the [`TermuxConstants`] class and use the variables provided for actions and extras instead of using hardcoded extra key values. +It's probably wiser for apps to declare the [`termux-shared`] library as a dependency and import the [`TermuxConstants`] class and use the variables provided for actions and extras instead of using hardcoded extra key values. If your app wants to receive termux session command results, then put the pending intent for your app like for an [IntentService](https://developer.android.com/reference/android/app/IntentService) in the `RUN_COMMAND_SERVICE.EXTRA_PENDING_INTENT` extra.