Question

I'm currently developing an application to manage my pictures on an Android phone. I developed an algorithm to classify the pictures based on the geographical coordinates (latitude, longitude) of each photo.

To test my application on the android emulator in Eclipse, I manually imported a bunch of photos from my computer to the SDCard folder of the emulator.

Now I would like to add latitude and longitude data manually to each photo, so that I can test my algorithm. I've been searching a lot but could't find any way to go through it..

Can anybody help me on this ?

Thanks in advance.

Was it helpful?

Solution

are you just asking how to set EXIF location data on images from the desktop? There's plenty of image editors that will let you do that (Google it). Or are you asking how to tell Android to retrieve that data from images that already have EXIF location data?

It sounds like you have the Android side of that worked out, you just want to dump GPS data into a set of images before putting them onto the phone. Here's a discussion on some desktop command-line tools you can use for that.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top