【发布时间】:2016-01-26 02:18:49
【问题描述】:
我需要选择一个带有扩展过滤器的文件,但我不知道如何让它工作。
我试过了:
dicomIntent = new Intent(Intent.ACTION_GET_CONTENT);
dicomIntent.setType("file/*.dcm");
dicomList = packageManager.queryIntentActivities(dicomIntent, PackageManager.MATCH_DEFAULT_ONLY);
但它只打开没有过滤器的保管箱。
有人知道吗?
【问题讨论】:
标签: android file android-intent filter