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打开文件夹
最新推荐文章于 2024-07-10 03:06:29 发布
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);