获取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();
	    }

    原文作者:weborn_liang
    原文地址: https://blog.csdn.net/xhl86xhl/article/details/25725221
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞