{
PackageManager pm = getPackageManager();
if (pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) {
Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
i.putExtra(MediaStore.EXTRA_OUTPUT, MyFileContentProvider.CONTENT_URI);
startActivityForResult(i, REQUEST_IMAGE_CAPTURE_REDMI);
}
如果我使用它,则复制的图像存储在DCIM文件夹中。如何在使用Content Provider时避免将图像存储在DCIM文件夹中?