i have an app in which you upload a photo to a database, i was wondering if it is possi开发者_JS百科ble to upload coordinates of where the image has been captured, is this done as standard with every picture taken? will it be as simple as getting the data and posting it along with the rest of the data i am sending
Thanks
James
The standard Android camera app geotags a picture IF the user has explicitly enabled this feature (it's disabled by default).
In case of JPEG files, the coordinates are embedded in the EXIF data. You can use Android's ExifInterface
to inject/extract that information.
精彩评论