开发者

Can you geotag a photo in android and upload coordinates?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜