Is there a way to know the _ID
of the image I add to MediaStore
using MediaStore.Images.Media.insertImage()
??
MediaStore.Images.Media.insertImage()
returns the Uri
of the image added.
I need to know the _ID
, in order to query MediaStore
and get all the image data, right after the image was saved in MediaStore
.
Is there another way, even without the _ID
, to query MediaStore
and get all the data of the last image I added?
Thank you in advance.