Display jpg image from intent in imageview

后端 未结 3 494
离开以前
离开以前 2021-01-22 08:36

How to display an Image received from an \"android.intent.action.SEND\" in an imageview? The user selects my app from the list of apps to share an imag

3条回答
  •  遇见更好的自我
    2021-01-22 08:56

    Try this

     BitMap thumnail= (Bitmap) getIntent().getExtras().getParcelable("data");
     yourImageViewId.setImageBitmap(receiptimage);
    

    Hope it helps

提交回复
热议问题