【发布时间】:2017-03-15 10:10:27
【问题描述】:
我用
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, null), Photo.REQUEST_PICK_FROM_EXISTING);
仅显示图像,并且可以选择使用也显示视频的第三方文件管理器应用程序。我希望用户选择第三方应用程序,但只选择图像。有什么办法控制吗?
【问题讨论】:
标签: android android-intent android-gallery