android Programming Glossary: exif.setattribute
Write/Geotag JPEGs (EXIF data) in Android http://stackoverflow.com/questions/10531544/write-geotag-jpegs-exif-data-in-android exif try exif new ExifInterface sdcard DCIM filename .jpeg exif.setAttribute ExifInterface.TAG_GPS_LATITUDE String.valueOf AGlanceLocationListener.getLatitude.. String.valueOf AGlanceLocationListener.getLatitude exif.setAttribute ExifInterface.TAG_GPS_LONGITUDE String.valueOf AGlanceLocationListener.getLongitude.. num3Lon longitude double num1Lon double num2Lon 60 3600000 exif.setAttribute ExifInterface.TAG_GPS_LATITUDE num1Lat 1 num2Lat 1 num3Lat 1000..
How to save GPS coordinates in exif data on Android? http://stackoverflow.com/questions/5280479/how-to-save-gps-coordinates-in-exif-data-on-android it try ExifInterface exif new ExifInterface filename exif.setAttribute ExifInterface.TAG_GPS_LATITUDE latitude exif.setAttribute ExifInterface.TAG_GPS_LONGITUDE.. exif.setAttribute ExifInterface.TAG_GPS_LATITUDE latitude exif.setAttribute ExifInterface.TAG_GPS_LONGITUDE longitude exif.saveAttributes..
Write/Geotag JPEGs (EXIF data) in Android http://stackoverflow.com/questions/10531544/write-geotag-jpegs-exif-data-in-android ExifInterface Save EXIF location data to JPEG ExifInterface exif try exif new ExifInterface sdcard DCIM filename .jpeg exif.setAttribute ExifInterface.TAG_GPS_LATITUDE String.valueOf AGlanceLocationListener.getLatitude exif.setAttribute ExifInterface.TAG_GPS_LONGITUDE.. filename .jpeg exif.setAttribute ExifInterface.TAG_GPS_LATITUDE String.valueOf AGlanceLocationListener.getLatitude exif.setAttribute ExifInterface.TAG_GPS_LONGITUDE String.valueOf AGlanceLocationListener.getLongitude exif.saveAttributes catch IOException.. int num2Lon int Math.floor longitude num1Lon 60 double num3Lon longitude double num1Lon double num2Lon 60 3600000 exif.setAttribute ExifInterface.TAG_GPS_LATITUDE num1Lat 1 num2Lat 1 num3Lat 1000 exif.setAttribute ExifInterface.TAG_GPS_LONGITUDE num1Lon..
How to save GPS coordinates in exif data on Android? http://stackoverflow.com/questions/5280479/how-to-save-gps-coordinates-in-exif-data-on-android degrees . Can anyone shed some light on this problem writing it try ExifInterface exif new ExifInterface filename exif.setAttribute ExifInterface.TAG_GPS_LATITUDE latitude exif.setAttribute ExifInterface.TAG_GPS_LONGITUDE longitude exif.saveAttributes.. writing it try ExifInterface exif new ExifInterface filename exif.setAttribute ExifInterface.TAG_GPS_LATITUDE latitude exif.setAttribute ExifInterface.TAG_GPS_LONGITUDE longitude exif.saveAttributes Log.e LATITUDE latitude Log.e LONGITUDE longitude catch IOException..
|