安卓文件管理器打开指定目录

File destDir = new File(getApplicationContext().getExternalCacheDir()+"//eml");
            Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
            intent.setDataAndType(Uri.fromFile(destDir), "*/*");
            intent.addCategory(Intent.CATEGORY_OPENABLE);
            startActivityForResult(intent, IMPORTEML);

猜你喜欢

转载自blog.csdn.net/qq_35644307/article/details/84939509