android – I want to get location information from an image taken with Olympus Air

Question: Question:

When shooting with Olympus Air, I was able to set the location information of the smartphone to Exif of the shot image with setGeolocation () of the OLYCamera class, but

Next, I wanted to get the location information when downloading the shot image including the set location information from Olympus Air, so I got the Exif information with the OLYCamera class inquireContentInformation (), but the included TAG is related to the location information. What seems to be
・ LocationStatus
・ Location
was.
LocationStatus can get whether Exif contains location information,
Location was always set to "0x00".

The latitude and longitude set by setGeolocation () are confirmed by the Exif viewer, and also confirmed by the detailed information of the file properties of Windows.

If there is any other way to get the latitude and longitude, I would appreciate it if you could teach me.

The OS is Android 4.4.4.

I look forward to working with you.

Answer: Answer:

I think that the Android version is the same when I tried various things with the iOS version SDK, but I downloaded the smallest image etc. using downloadImage(path, resize, callback) and its Exif (to be exact, GPS IFD) I feel that I have no choice but to read) on my own.

2015-07-28 Addendum It seems that it is not downloadContentThumbnail() or downloadContentScreennail() that all EXIF ​​information is likely to be obtained, but apparently it is the argument data of onCompleted() of DownloadImageCallback that is called when downloadImage() is completed.

Scroll to Top