1

How can I put and get some numeric value on metadata on an jpeg image on android .More specifically I want to put and get position (longitude and latitude ) of a place using google map V2 on an image so that later i can recognize where the image is taken.

S.I
  • 11
  • 2

1 Answers1

0

If you want to know later where the image was taken, I suggest you do some kind of a database or SharedPreferences to store the image id and the lat,lng of where it was taken

  • Thanks , but in some purpose , i think it will be more effective than shared Preferences or sq-lite for my project . – S.I Apr 15 '14 at 19:59
  • How about you just encode Image with Base64 and add a tail of information you want, and when trying to decode Image, you substring the last tail added. You can put some kind of a tag that marks the end of the encoded image and the beginning of your information – Mohamed Hamdaoui Apr 17 '14 at 08:13