The 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.
* List contacts from the system contact list.
Besides installing this app an additional package is required to install inside Termux:
$ apt install termux-api
See the following documentation about available API commands:
https://wiki.termux.com/wiki/Termux:API
NOTE: This is an add-on which requires that the main Termux app is installed to use.
Termux: API add-on menyediakan akses baris arahan ke API peranti: s:
* Baca dan hantar mesej sms dari terminal anda.
* Akses peranti GPS lokasi sensor dari skrip.
* Paip hasil perintah ke dalam enjin teks-ke-ucapan peranti.
* Bergetar peranti apabila sesuatu yang menarik berlaku.
* Akses papan klip sistem dari skrip shell.
* Senarai kenalan dari senarai kenalan sistem.
Selain memasang aplikasi ini, pakej tambahan diperlukan untuk dipasang di dalam Termux:
$ Apt memasang termux-api
Lihat dokumentasi berikut mengenai arahan API yang tersedia:
https://wiki.termux.com/wiki/Termux:API
NOTA: Ini adalah tambahan yang memerlukan aplikasi Termux utama dipasang untuk digunakan.