Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 3
    It's been a long time since Android decide to support this lat/lon to degree transform. Now you can just call ExifInterface(file).setGpsInfo(location) and saveAttributes() to simply do the job. And be sure to create ExifInterface from File instead of Uri or you'll get IOException("ExifInterface does not support saving attributes for the current input."). developer.android.com/reference/android/support/media/… Commented Jul 22, 2019 at 2:28
  • 1
    to update on the previous comment, that library is now deprecated, the replacement can be found here: developer.android.com/reference/androidx/exifinterface/media/… Commented Jun 20, 2020 at 11:25