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 إمكانية وصول سطر الأوامر إلى واجهة برمجة تطبيقات الجهاز: s:
* قراءة وإرسال الرسائل القصيرة من المحطة الطرفية الخاصة بك.
* جهاز استشعار GPS موقع جهاز الوصول من البرامج النصية.
* الأنابيب نتيجة الأوامر في محرك تحويل النص إلى كلام الجهاز.
* اهتزاز الجهاز عندما يحدث شيء مثير للاهتمام.
* الوصول إلى الحافظة النظام من البرامج النصية قذيفة.
* قائمة الاتصالات من قائمة الاتصال النظام.
إلى جانب تثبيت هذا التطبيق ، يلزم وجود حزمة إضافية لتثبيت داخل Termux:
$ apt install termux-api
راجع الوثائق التالية حول أوامر واجهة برمجة التطبيقات المتاحة:
https://wiki.termux.com/wiki/Termux:API
ملاحظة: هذه الوظيفة الإضافية تتطلب تثبيت تطبيق Termux الرئيسي للاستخدام.