hey I want to get the last picture captured by user through any camera application. I have no idea how to do that
can any one help me?
further I want to send that image as an attachment to an email or MMS..
thanks
hey I want to get the last picture captured by user through any camera application. I have no idea how to do that
can any one help me?
further I want to send that image as an attachment to an email or MMS..
thanks
Inspired by https://stackoverflow.com/a/20065920/763459
So the main concern in that answer was not all the devices are using "DCIM" as the camera folder. Then I found out that if a file is located inside a app-specified folder, it will be indexed by
ContentResolver
but the other app doesn't have access to it, which meanscanRead=false
. So here I come up with another solution:I'm still working on the MMS sending part.