Local shell environment variables
-
DATA_DIR
— default persistent data directory.
It will be deleted when this application is uninstalled. -
PROTECTED_DATA_DIR
— default device-protected persistent data directory (set if available).
It will be deleted when this application is uninstalled. -
SHARED_DATA_DIR
— directory on the primary shared/external storage device where the application can place persistent files it owns (set if available). Any other application with the storage access permissions can also access this place.
It will be deleted when this application is uninstalled. -
EXTERNAL_DATA_DIR
— an alias toSHARED_DATA_DIR
. -
PUBLIC_DATA_DIR
— the root of the “sdcard”.READ_EXTERNAL_STORAGE
/WRITE_EXTERNAL_STORAGE
permissions are required. -
LIB_DIR
— native binaries path. -
APP_APK
— path to the Another Term APK. -
APP_ID
— Another Term application id. -
APP_VERSION
— Another Term version. -
APP_TARGET_SDK
— Another TermtargetSdkVersion
. -
MY_DEVICE_ABIS
— supported architectures list from the most preferable to the least preferable. -
MY_ANDROID_SDK
— Android SDK version. -
SHELL_SESSION_TOKEN
— associated with related data including termsh permissions. It can be unset to avoid propagation of any permissions and block any dialogs and activities opening by termsh. Usetermsh revoke-permission
for granular revokation.
See also: Content sharing with Another Term and Start a session by an intent