1、bitmap to uri
Uri uri = Uri.parse(MediaStore.Images.Media.insertImage(getContentResolver(), bitmap, null,null));
2、uri  to  bitmap
Bitmap bitmap = BitmapFactory.decodeStream(context.getContentResolver().openInputStream(uri));

相关文章:

  • 2021-09-29
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2021-06-13
猜你喜欢
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
相关资源
相似解决方案