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:
* อ่านและส่งข้อความ SMS จากสถานีของคุณ
* อุปกรณ์ GPS เข้าถึงตำแหน่งจากเซ็นเซอร์
* ท่อผลของคำสั่งลงในเครื่องมือข้อความเป็นคำพูดของอุปกรณ์
* สั่นอุปกรณ์เมื่อมีสิ่งที่น่าสนใจเกิดขึ้น
* เข้าถึงคลิปบอร์ดระบบจากสคริปต์เชลล์
* รายชื่อผู้ติดต่อจากรายการที่ติดต่อระบบ
นอกเหนือจากการติดตั้งแอปพลิเคชันนี้คุณต้องติดตั้งแพคเกจเพิ่มเติมเพื่อติดตั้งภายใน Termux:
$ apt ติดตั้ง termux-api
ดูเอกสารต่อไปนี้เกี่ยวกับคำสั่ง API ที่ใช้ได้:
https://wiki.termux.com/wiki/Termux:API
หมายเหตุ: นี่เป็น Add-on ที่กำหนดให้ใช้แอพพลิเคชั่น Termux หลักในการใช้งาน