NOTE: This post is only for educational purposes. I and this site do not support any criminal activity. If you are doing any sort of misuse of this information This site is not responsible for that. THIS SITE ONLY SUPPORT ETHICAL HACKING.
What is Termux-API?
To make an Interaction between Your phone and termux we have to install Termux-API. This means You can access your Phone's APIs using Your Command-line Interface of Termux. with the Help of termux API you can read SMS as well as call logs from your terminal. Access Sensors Available in your phone Like GPS sensor and vibrator. It also gives you a text-to-Speech Engine as well as your camera and microphone.
Install Termux-API:
Since the playstore version of the termux app has stopped working you have to install the application from f-droid and you have to install the compatible version of termux-api from the same site. the installation process is simple but can look lengthy so I have write a separate post on it. If you don't have termux API in you phone just follow the below post (It's gonna take less than 1 min).Click Images Using Termux:
Step1:
To check all the available camera you need to use the below command.
by using below command you will get the list of you cameras and their configurations.
You have to check for the camera Id e.g: my camera Id for back-camera is 0 and for front-camera is 1.
termux-camera-info
Step2:
The command to click image using termux is given below.
You can paste the below command and you will get a photo clicked by your front camera in your internal storage.
termux-camera-photo -c 1 ~/storage/shared/Selfy.jpg
I am using -c 1 where the 1 is the camera ID change the -c 1 to - c 0 and you will get a photo from back camera.
You can also change the path (the green part in the command) with your own path to save the clicked photo in any secret folder.
Tip: You need to change the Filename (like I am using Selfy.jpg) after every click because if you don't change the name of the file, the file will be overridden.
Conclusion:
Termux-Api allow you do some really serious work in really simple commands, I can't even tell you how useful this command can be, but you can join our Facebook group to chat with everyone and share ideas. if you didn't understand any part of the post, feel free to contact me in the comment section. You can also Read [How to Make Phone Calls Using Termux-API] Sorry if Termux-API is not compatible with your phone, thanks for reading guys and as always Stay Ethical.
1 Comments
How can one use termux for auto follow on twitter
ReplyDelete