Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_GET_CONTENT);
File file = new File(LOG_DIR);
intent.setDataAndType(Uri.fromFile(file), "*/*");
startActivity(intent);
android打开文件夹
最新推荐文章于 2023-04-13 20:53:43 发布
Intent intent = new Intent();
intent.setAction(android.content.Intent.ACTION_GET_CONTENT);
File file = new File(LOG_DIR);
intent.setDataAndType(Uri.fromFile(file), "*/*");
startActivity(intent);