Termux:API - Termux Wiki
https://wiki.termux.com/wiki/Termux:APIInstalling termux-api package. To use Termux:API you also need to install the termux-api package. pkg install termux-api Settings. On Android 7 you may have to "protect" Termux:API by going into the settings / protected apps menu otherwise calls to the API like termux-battery-status will hang forever. See issue 334. Current API implementations ...
Termux:API - Apps on Google Play
play.google.com › store › appsThe Termux:API add-on provides command line access to device API:s: * Read and send sms messages from your terminal. * Access device GPS location sensor from scripts. * Pipe the result of commands into the device text-to-speech engine. * Vibrate the device when something interesting happens. * Access the system clipboard from shell scripts.
Termux:API - Termux Wiki
wiki.termux.com › wiki › Termux:APIInstalling termux-api package. To use Termux:API you also need to install the termux-api package. pkg install termux-api Settings. On Android 7 you may have to "protect" Termux:API by going into the settings / protected apps menu otherwise calls to the API like termux-battery-status will hang forever. See issue 334. Current API implementations ...