【发布时间】:2014-07-03 21:25:04
【问题描述】:
我想浏览文件并选择任何一个。我正在使用以下代码
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("file/*");
startActivityForResult(intent, FILE_SELECTED);
此代码显示设备上的文件浏览器应用程序列表以及谷歌驱动器和保管箱,但我不想显示谷歌驱动器和保管箱。如何过滤谷歌驱动器和保管箱?
【问题讨论】:
-
你看到了吗 - stackoverflow.com/questions/12247082/… ?
标签: android file intentfilter