ansm-termux-api
v0.1.1
Published
A npm package to intearct with Termux API
Downloads
6
Readme
Termux Usage
A npm package to intearct with Termux API
Part of the TermuxProject
Installation
npm i ansm-termux-api
Usage
const { TermuxController } = require("ansm-termux-api");
var TxCtrl = new TermuxController();
console.log(TxCtrl.getBattery());
// Will return battery informations
TODO
- [ ] Write Termux Controller
- [x] Battery
- [x] Brightness
- [ ] Call log (?) Blocked by Android
- [x] Camera info
- [x] Camera take
- [x] Clipboard get
- [x] Clipboard set
- [x] Contact list
- [x] Dialog
- [ ] Download (?) Useless ?
- [x] Fingerprint
- [ ] Infrared-frequencies (?) Useless ?
- [ ] Infrared-transmit (?) Useless ?
- [ ] Job Scheduler (!) Security issue
- [ ] Location (?) Blocked by Android
- [ ] Media player (?)
- [ ] Media scan (?)
- [ ] Microphone Record (?) Too complex
- [X] Notification
- [X] Notification remove
- [ ] Sensor (?)
- [ ] Share
- [X] SMS List
- [X] SMS Send
- [ ] Storage get
- [ ] Telephony call
- [ ] Telephony cell info
- [ ] Telephony device info
- [ ] Toast
- [X] Torch
- [X] TTS Engines
- [X] TTS Speak
- [ ] USB
- [ ] Vibrate
- [ ] Volume
- [ ] Wallpaper
- [ ] WiFi Connection Info
- [ ] WiFi Enable
- [ ] Wifi Scan Info