I'm trying read the location from images which is taken from the camera api which I included in my project.
But
exif.getAttribute(ExifInterface.TAG_GPS_LATITUDE)
gives null.
I know I need to enable save location(geo tagging) in settings. But I don't like to do that, as I need it to be done programmatically.
Is it possible to enable or disable geo tagging?