PHP Classes
elePHPant
Icontem

PHP Termux API: Control Android device using Termux application

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2017-02-14 (1 month ago) RSS 2.0 feedStarStarStar 58%Total: 364 This week: 24All time: 6,539 This week: 43Up
Version License PHP version Categories
termuxapi 1.0GNU General Publi...5PHP 5, System information, Wireless a..., A..., G..., C..., H...
Description Author

This class can control Android device using Termux application.

It can execute the termux terminal emulator application from the command line and run several types of commands to control the several aspects of an Android mobile phone or table. Currently it can:

- Check the battery status
- Get the camera details
- Take a picture
- Copy text from and to the clipboard
- Retrieve user contact list
- Download files from a given URL
- Get the device location from the GPS or other device
- Send notifications to the device user
- Open URLs in the device default browser
- Share content file
- Send SMS message
- Get received SMS messages
- Get the phone information
- Show an Android toast notification
- Get the list of TTS (Text to Speach) devices
- Play text as speech
- Vibrate
- Scan WiFi devices
- Get the WiFi connection details

Innovation Award
PHP Programming Innovation award nominee
February 2017
Nominee
Vote
Termux is a Android application that allows running applications from a Linux shell. PHP can be run from Termux too.

This class provides a wrapper to access to services provides by the Termux API app to access and control several aspects of an Android device.

Manuel Lemos
  Performance   Level  
Name: Luis Martinez Ulloa is available for providing paid consulting. Contact Luis Martinez Ulloa .
Classes: 11 packages by
Country: Peru Peru
Age: 44
All time rank: 4331 in Peru Peru
Week rank: 35 Up1 in Peru Peru Equal
Innovation award
Innovation award
Nominee: 4x

Screenshots  
  • 03test07.jpg
  • 03test06.jpg
  • 03test05.png
  • 02clip04b.jpg
  • 02clip04.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file clipshow.php Example Clipboard Example
Accessible without login Plain text file location.php Example Location Example
Plain text file termuxapi.php Class The class
Accessible without login Plain text file test.php Example Web test all methods

 Version Control Unique User Downloads Download Rankings  
 0%
Total:364
This week:24
All time:6,539
This week:43Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1377
 
Thats a very good class ;-)
11 days ago (Josť Filipe Lopes Santos)
70%StarStarStarStar