//调用系统相册
private void pickPic() {
Intent intent = new Intent(Intent.ACTION_PICK,
android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
try {
startActivityForResult(intent, PICK_IMAGE_DATA);
} catch (ActivityNotFoundException e) {
e.printStackTrace();
}
}
小米打开系统相册
最新推荐文章于 2021-05-29 04:03:57 发布