Intent intent=new Intent();
intent.setType(image/*);
intent.setAction(Intent.ACTION_GET_CONTETN);
startActivityForresult(Intent.creatChooser(intent),”选择图片”);
打开图库的第二种意图
最新推荐文章于 2024-04-15 00:42:04 发布
Intent intent=new Intent();
intent.setType(image/*);
intent.setAction(Intent.ACTION_GET_CONTETN);
startActivityForresult(Intent.creatChooser(intent),”选择图片”);