拍照 Intent takeIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); String timeStamp = new SimpleDateFormat("yyyyMMddmmss").format(new Date()); String imgFileName = "IMG_" + timeStamp; //核心 不可使用 Environment.getExternalStorageDirectory() String path = context.getExternalCacheDir