Regarding data storage in the image:
Take a look at these links might help:
There is a class: Exifinterface that allows the insertion of Tags with meta information inside a JPEG image, depending on what you want to create is worth storing this information in the image itself.
In relation to obtaining the location:
Add the following permissions to your xml manifest:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
Follow a code that gets the location simply without the need to listen through a Calback, anything from a look at Android guide to get location.
LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
Location location = (Location) lm.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
double longitude = location.getLongitude();
double latitude = location.getLatitude();
Anything you post comments,
Abs.
i did so, I took the photo, at the time of the photo picked up the location, and in a table saved photoName, lat_photo, long_photo and more needed pictures. ai dps have assembled a list of the images, and displays on the maps right above the location. vc knows how to pick up the location, use the camera’s input and everything else?
– FlipNovid