Tutorial : How to make a call and send sms using Android Termux
DISCLAIMER
This Tutorial is only for educational purpose. Do this activity in a legal way.
What is Termux?
Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically - additional packages are available using the APT package manager.
What Will I Learn?
- How to make a call using Termux
Requirements
Termux :
Download Link
Hacker's Keyboard
Download Link
Difficulty
- Basic
Procedure
1: Install and run Termux. Type command pkg update && pkg upgrade
and press Enter, wait until it complete its processes.This will update and as well as upgrade the your Termux app and its repository.
2: Type command pkg install termux-api
and press Enter, wait until its installation this will depend on your internet speed. This command will install the pkg that needs to gain user permission and make a call. Allow the permission if a popup appears.
3: Now type the command termux-telephony-call YourNumber
. Here the YourNumber is the Number which you want to call e.g 123456789. Allow the permission if a popup appears. This will directly call your Entered Number
4: To send sms type comman termux-sms-send -n YourNum YourMsg
and press Enter. Here YourNum is Number to which send SMS and YourMsg is the text wo want to send. If popup appear click on allow
- If popup appear click on Allow