Example #1
0
 // focus value low
 public static long getFocusValueLow(ExifInterface exif) {
   Long val = exif.getTagLongValue(ExifInterface.TAG_FOCUS_VALUE_HIGH);
   if (val == null) {
     return 0l;
   } else {
     Log.i(TAG, "focus value low = " + val.longValue());
     return val.longValue();
   }
 }
Example #2
0
 // group id
 public static long getGroupId(ExifInterface exif) {
   Long val = exif.getTagLongValue(ExifInterface.TAG_GROUP_ID);
   if (val == null) {
     return 0l;
   } else {
     Log.i(TAG, "group id = " + val.longValue());
     return val.longValue();
   }
 }