2011-08-10 72 views

回答

3

寫要獲得的圖像細節使用:

final ExifInterface exif = new ExifInterface(imageUri.getPath()); 
final int rotation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, 
           ExifInterface.ORIENTATION_NORMAL); 
final String datestamp = exif.getAttribute(ExifInterface.TAG_GPS_DATESTAMP); 
final String gpsLatitude = exif.getAttribute(ExifInterface.TAG_GPS_LATITUDE); 
final String gpsLatitudeRef = exif.getAttribute(ExifInterface.TAG_GPS_LATITUDE_REF); 
... 
相關問題