Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Geo tagging

 
Swastik Dey
Rancher
Posts: 1719
8
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to geo-tag a camera image in android?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the device has a geo fix, then the image has EXIF tags that contain this information. I just tested it and found that the following tags were present:

If you want to inspect the EXIF tags that are present in an image, I recommend the free ImageJ application and its EXIF Reader plugin.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to inspect the EXIF tags that are present in an image, I recommend the free ImageJ application and its EXIF Reader plugin.

Thanks for this info!
 
Swastik Dey
Rancher
Posts: 1719
8
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the information, I will surely give it a look.
 
Swastik Dey
Rancher
Posts: 1719
8
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any java library available to read those EXIF tags?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The page I linked to points to it.
 
Swastik Dey
Rancher
Posts: 1719
8
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the following code snippet on android 2.2 to geo tag a camera image, however it does not seem to work.

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!