How to load an ImageView from a png file?

前端 未结 6 1104
独厮守ぢ
独厮守ぢ 2020-12-29 10:57

I take a picture with the camera using

Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE );
startActivityForResult( intent, 22 );
<         


        
6条回答
  •  孤城傲影
    2020-12-29 11:25

    There should be no difference between decodeStream() and decodeFile(). decodeFile() method opens an inputstream and calls decodeStream(). This was already answered at this link

提交回复
热议问题