开发者

PhotoChooserTask: know where does the photo come from

I'm using PhotoChooserTask with showCamera set to true. My question is if it is possible to know where the photo comes from: the library or the use开发者_如何学JAVAr has taken a new photo. What I want is to send the coordinates if the photo has just been taken. I know I could put two buttons, one for choosing from the library and another to take a new photo, but I'd prefer to have it in a single button.

Thank you!


Does the photo contain EXIF metadata? Perhaps you could read the photo stream and load the EXIF metadata and figure out pic time, GPS coords, etc.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜