Skip to content Skip to sidebar Skip to footer

How To Edit Exif In Android Q

I want to create an jpg and edit its exif. Before, I use ExifInterface: ExifInterface exifInterface = new ExifInterface(filePath) exifInterface.setAttribute(...) exifInterface.setA

Solution 1:

I had the same issue. I solved it by updating ExifInterface to 1.3.1 in build.gradle (app):

implementation 'androidx.exifinterface:exifinterface:1.3.1'

Seems to be related with this commit to saveAttributes, as indicated in the release notes: https://developer.android.com/jetpack/androidx/releases/exifinterface#1.3.1

Fix saveAttributes implementation to keep the image data in MediaProvider

Post a Comment for "How To Edit Exif In Android Q"