Android Question add coordinate GPS in the picture of camera

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hello everyone,
I can not enter the latitude and longitude in the images of the camera using the GPS library.
Here are the commands:

Sub GPS_LocationChanged (Location1 As Location)


camera1.GPSAltitude= Location1.Altitude
camera1.GPSLatitude= Location1.Latitude
camera1.GPSLongitude= Location1.Longitude


End Sub

where am I wrong?
thanks
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
hello Erel,
camera1 is an object AdvancedCamera.
I need to enter the latitude and longitude in the photograph, using the GPS function.

I hope I was clear.
thanks
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
ok, but I need to enter the coordinates when I click the picture. if I understand correctly, I should first save the picture and then add the coordinates?
thanks again
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
well, with the subject or AdvancedCamera says Erel? can you give me a hint? thanks so much
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
well, with the subject or AdvancedCamera says Erel? can you give me a hint? thanks so much

You can use this camera-lib (AdvancedCamera) or any other Camera-lib to take photos. Use your prefered one.
Then save the taken image to disc.
Then you can
You can use JpegUtils to add the coordinates to an existing image
See JpegUtils for Library and Demo
See here for more details on Androids ExifData-Interface
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…