How can I launch a camera app from the command line, and have it stored somewhere predictable on android?
1
vote
0
answers
234
views
Basically... I am writing a script on Termux and I need to take and store a photography. I tried to start "android.media.action.IMAGE_CAPTURE" via am supplying it with the uri of both a non existent and empty file for that sake, but I was unable to get it to work consistently... More details Here . So I am reconsidering my approach...
Do you guys know some way (built-in way, third party app or library, Termux specific command, idk) to be able to launch some camera app in order to be able to point the camera and take the photo, and then return to the terminal in order to handle it.
It would be nice to write it directly into Termux's storage, but it's fine if I can write it literally anywhere.
Asked by Lucastegano X
(11 rep)
Feb 4, 2025, 05:49 PM
Last activity: Feb 6, 2025, 01:14 PM
Last activity: Feb 6, 2025, 01:14 PM