Termux:API アプリ
基本的なAndroid機能、例えばSMSの送信やGPSデータへのアクセスを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.