获取Android相册中jpg照片的各属性

String filename="/sdcard/0/DCIM/Camera/20140513_120346.jpg";
	    try{
	      ExifInterface exif = new ExifInterface(filename);
	      String date=exif.getAttribute(ExifInterface.TAG_DATETIME);
	      Toast.makeText(MainActivity.this,"The image date info:"+date, Toast.LENGTH_LONG).show();
	    }

你可能感兴趣的:(获取Android相册中jpg照片的各属性)