You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
Hi Everyone.
Is there a way to set Geolocation Exif data (ExifInterface.TAG_GPS_*) on preview time?
I could make this work on onPictureTaken, before generating the picture bitmap from the byte array, but I'd like to know if there's a better way to do this.
Let's assume the user has already allowed all the required permissions.
I saw there's a way to set the Geolocation on Camera parameters (mCamera.getParameters().setGpsLatitude), but as the camera object is private, i don't know how to to this.
Thanks a lot.
The working code i used in my case is the following:
Hi Everyone.
Is there a way to set Geolocation Exif data (
ExifInterface.TAG_GPS_*
) on preview time?I could make this work on onPictureTaken, before generating the picture bitmap from the byte array, but I'd like to know if there's a better way to do this.
Let's assume the user has already allowed all the required permissions.
I saw there's a way to set the Geolocation on Camera parameters (
mCamera.getParameters().setGpsLatitude
), but as the camera object is private, i don't know how to to this.Thanks a lot.
The working code i used in my case is the following:
The text was updated successfully, but these errors were encountered: