06-10-2013 05:36 PM
Hi was not able to find examples on geotagging photos. I know that the default bb10 camera has access to gps.
I that I would have to write the EXIF data using the built in library?
The OnPhotoSaved function.
Get GeoLocation Data.
I would write the photo jpg with this information. // built using EXIF library.
Save the photo to the camera/shared
Or is there a built in function to do this. I have searched the documentation and found nothing.
06-11-2013 03:16 AM
Do you try toying around with the libexif library from this page?
06-12-2013 01:41 PM
I have but I noticed that the bb10 camera by default has the geotagging, I was wondering if that was built into the camera api?
Or do I have to write this into the image file using this
I would have hoped for better exif support on the camera, because now I have to figure out what needs to be written,
GPSLatitude GPSLongitude GPSAltitude GPSDateStamp GPSLatitudeRef GPSLongitudeRef GPSAltitudeRef GPSTimeStamp GPSTrack GPSSpeed GPSImgDirection GPSPitch GPSTrackRef GPSSpeedRef GPSImgDirectionRef GPSRoll I would assome thats all i need to write? how would I get access to these things via the location services ?
Another question I have is can I write my own data into the file perhaps add user comments and or tags? ?
06-12-2013 03:55 PM
The camera service doesn't geotag the image for you, but you can provide it the data in the C API with camera_set_geolocation.
If you are using the Cascades API, yes, you would need to tag it with libexif.