0
的影像储存在/storage/emulated/0/policeSuites/
显示的图像仅
想从默认库policeSuites
文件夹中查看所有图像。
public void openFolder() {
File storageDir = Environment.getExternalStoragePublicDirectory("/Police photo suits");
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
Uri uri = Uri.parse(String.valueOf(storageDir));
intent.setDataAndType(uri, "image/*");
startActivity(Intent.createChooser(intent, "Open folder"));
}