Basically... I am writing a script on termux(in case you don't know it, it would be basically the same than a script for adb) 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 take a picture and then store it? It would be nice to write it directly into termux's storage, but it's fine if I can write it literally anywhere.
Thanks in advance :)