I want to write a task that emails me a photo (using SL4A script sendemailA.py) as soon as I take it.
Docs say that %FOTO is "The filesystem path to the last photo taken by Tasker or the
standard system camera application." However, if I do something as simple as a Flash alert to show %FOTO, it just shows the text "%FOTO", not the path to the file.
My system camera save photos to my SD card at /mnt/sdcard/ext_sd/DCIM/100MEDIA/. Even if I change the alert to show /mnt/sdcard/ext_sd/DCIM/100MEDIA/%FOTO, it still just display the text verbatim.
The emailing works fine if I hard code an actual photo( /mnt/sdcard/ext_sd/DCIM/100MEDIA/whatever.jpg), so I know the email config isn't the problem. I just don't know how to access the most recent photo, and the docs aren't much help. How am I supposed to do this?
Bonus: Does %FOTO also work for videos recorded from the camera, or is it strictly images?