android - The bitmap obtained through BitmapFactory.decodeFile(picturePath) is null?
PHP中文网
PHP中文网 2017-05-16 13:21:11
0
1
521

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

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
滿天的星座

First check whether the file exists. If it does not exist, it will return null.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!