I am fairly new to android and I am creating an app that uses the camera intent to take a photo and stores it into a database along with some other info. my trouble is that I need to get the latitude and longitude from that photo and store it into the database as well. I have searched very thoroughly and can not seem to find out how to extract the location information from a photo. any help will be greatly appreciated.
thanks in advance
Create an ExifInterface from the filename and then you can call getLatLong() to get the coordinates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With