开发者

Android BitmapFactory.decodeFile() method returns null

开发者 https://www.devze.com 2023-04-04 10:26 出处:网络
I am facing an issue with Bitmap object creation. When i call the BitmapFactory.decodeFile(imageFullPath) it returns null.I tried with the available solutions like giving complete image path.But I di

I am facing an issue with Bitmap object creation.

When i call the BitmapFactory.decodeFile(imageFullPath) it returns null.I tried with the available solutions like giving complete image path.But I didn't get the solution.

Can any one please tell me why it is returning null.?

According to the Developer docs BitmapFactory.decodeFile(imageFullPath) will return null if 开发者_运维技巧the path is not available or if unable to decode.

In my case I am facing this because of Second one(Unable to Decode).

So Please anyone tell me How can I avoid this.?

Thanks in advance.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号