I have captured a picture using the phone camera and stored it in variable "photo"
Bitmap photo = (Bitmap) data.getExtras().get("data");
I have also obtained the latitude and longitude using the phone gps
lat = location.getLatitude();
lon = location.getLongitude();
How do I incorporate this gps data in the image only?
P.S. GPS tagged images can be captured manually by enabling the GPS tag option in the camera settings by the user. I want to make sure that the image captured is compulsorily GPS tagged.