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 افزودنی دسترسی خط فرمان به API دستگاه را فراهم می کند: s:
* خواندن و ارسال پیام های اس ام اس از ترمینال خود را.
* دسترسی به سنسور مکان GPS دستگاه از اسکریپت.
* لوله نتیجه دستورات در دستگاه متن به گفتار موتور.
هنگامی که چیزی جالب اتفاق می افتد، دستگاه را لرزش دهید.
* دسترسی به کلیپ بورد سیستم از اسکریپت پوسته.
* فهرست مخاطبین را از لیست تماس با سیستم.
علاوه بر نصب این برنامه یک بسته اضافی برای نصب در Termux لازم است:
$ apt install termux-api
اسناد زیر در مورد دستورات API موجود را ببینید:
https://wiki.termux.com/wiki/Termux:API
نکته: این افزودنی است که نیاز به برنامه Termux اصلی برای استفاده دارد.