Intent intent=new Intent();
intent.setType(image/*);
intent.setAction(Intent.ACTION_GET_CONTETN);
startActivityForresult(Intent.creatChooser(intent),”选择图片”);
打开图库的第二种意图
最新推荐文章于 2021-05-27 06:08:26 发布
Intent intent=new Intent();
intent.setType(image/*);
intent.setAction(Intent.ACTION_GET_CONTETN);
startActivityForresult(Intent.creatChooser(intent),”选择图片”);