0.1.1 • Published 1 year ago
ansm-termux-api v0.1.1
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
- Battery
- Brightness
- Call log (?) Blocked by Android
- Camera info
- Camera take
- Clipboard get
- Clipboard set
- Contact list
- Dialog
- Download (?) Useless ?
- Fingerprint
- Infrared-frequencies (?) Useless ?
- Infrared-transmit (?) Useless ?
- Job Scheduler (!) Security issue
- Location (?) Blocked by Android
- Media player (?)
- Media scan (?)
- Microphone Record (?) Too complex
- Notification
- Notification remove
- Sensor (?)
- Share
- SMS List
- SMS Send
- Storage get
- Telephony call
- Telephony cell info
- Telephony device info
- Toast
- Torch
- TTS Engines
- TTS Speak
- USB
- Vibrate
- Volume
- Wallpaper
- WiFi Connection Info
- WiFi Enable
- Wifi Scan Info