I'm using ExifInterface which needs the image path to grab info like Latitude/Longitude from Uri. I can get the path of an image saved on device from Uri and send it to ExifInterface to get the details.
However, this does not work for images on Google Photos cloud. When selected from the gallery, the photo downloads automatically but ExifInterface is unable to retrieve any info since cursor.getString(index) is null.
So I try to save the image onto the storage like explained here: Getting path from Uri from Google Photos app
Then when I open the saved file using Google photos app I don't see the location details. But, if I manually save the image from the Google photos app by clicking "save" that image shows location details.
Anyway to save image details when saving an image file?