Java tutorial
//package com.java2s; import java.io.IOException; import android.media.ExifInterface; public class Main { public static float[] getGeoLocationFromPhoto(String photo_path) { ExifInterface exif; float latlong[] = { (float) 0.0, (float) 0.0 }; try { exif = new ExifInterface(photo_path); exif.getLatLong(latlong); } catch (IOException e) { e.printStackTrace(); } return latlong; } }