开发者

Android BitmapFactory.decodeFile() method returns null

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜