android - The bitmap obtained through BitmapFactory.decodeFile(picturePath) is null?
PHP中文网2017-05-16 13:21:11
0
1
568
The correct path of the picture is obtained, but the bitmap obtained through BitmapFactory.decodeFile(picturePath) is null? What is the reason for this? Can anyone give me some advice? Thanks
First check whether the file exists. If it does not exist, it will return
null
.