Termux:API 앱
SMS 전송이나 GPS 데이터 접근과 같은 기본 Android 기능을 Termux 앱에 노출시킵니다. 이는 주 Termux 앱이 설치되어 있어야 사용할 수 있는 추가 모듈입니다.
특징:
- 터미널에서 SMS 메시지를 읽고 보낼 수 있습니다.
- 스크립트에서 기기의 GPS 위치 센서에 접근할 수 있습니다.
- 명령의 결과를 기기의 텍스트 음성 변환 엔진으로 파이프할 수 있습니다.
- 흥미로운 일이 발생할 때 기기를 진동시킬 수 있습니다.
- 쉘 스크립트에서 시스템 클립보드에 접근할 수 있습니다.
- 시스템 연락처 목록에서 연락처를 나열할 수 있습니다.
이 앱을 설치하는 것 외에도 Termux 내에 설치할 추가 패키지가 필요합니다:
$ apt install termux-api
새로운 기능 0.52.0
Here's a summary of the Termux:API 0.52.0 release notes, formatted as an HTML list:
- Fixed: Multiple calls to
ResultReturner.returnData()
causing "Connection refused" errors. - Fixed:
termux-notification --icon
not working in release builds. - Fixed:
termux-notification
actions not updating or conflicting due toPendingIntent
issues. - Improved:
termux-job-scheduler
output for scheduled jobs. - Improved: BatteryStatusAPI now outputs temperature as a double value.
- Improved: Added stack trace information to exception messages for easier debugging.
- Fixed: NFC-related issues to prevent NullPointerExceptions.
- Fixed:
termux-nfc -t x
resulting in error notification being shown.