Open Discostu36 opened 4 years ago
It depends on system camera settings, OsmAnd doesn't process or change photos received by API except changing it's name
My system camera is set to geotag photos.
BTW, I don't have such problems with other apps. If I take a photo with the Adobe Lightroom App, for example, all EXIF tags are present. So the problem must be at how Omsand does communicate with the telephone's camera.
Same problem for me. The GPS Tags are written, but not the EXIF:CreateDate and/or EXIF:DateTimeOriginal.
However, as @vshcherb mentioned this seems to be rather a problem of the camera api which I actually had in another project as well.
In my case, the IFD0:DateTime has always been written, but the EXIF:DateTimeOriginal and EXIF:DateTimeDigitized not always.
The only way would be to supplement/write this EXIF data in the program osmand itself - which would be feasible (there seems to be an interface, https://developer.android.com/reference/android/media/ExifInterface) but could be considered out of scope of the solution osmand.
Since the date is apparently in the jpeg i would consider it a bug of the camera api and one needs to fix it later. A fix in osmand would be nice but also dangerous - you are not supposed to mingle with Exif data.
On my phone (Samsung Galaxy A7 2018, Android 9) photo notes taken with Osmand contain no exif information (neither date nor location). I learned in the German Telegram channel that it works for other users. Can you investigate?
I tested with internal photo app and system photo app.