【发布时间】:2021-03-29 22:12:01
【问题描述】:
Intent intent = new Intent(Intent.ACTION_PICK);
intent.setType("image/*");
startActivityForResult(intent, SELECT_PICTURE);
我正在使用此意图来处理来自画廊的图像,但有时它会显示不同的布局。 它应该显示这样的界面。
但有时它会显示此布局并要求裁剪图像,但我的活动没有得到回调。
如何使意图只使用第一个布局来获取图像?
【问题讨论】:
标签: android android-intent intentfilter