Android Load Camera image as Bitmap
Posted
by GuyNoir
on Stack Overflow
See other posts from Stack Overflow
or by GuyNoir
Published on 2010-06-01T04:20:37Z
Indexed on
2010/06/01
4:23 UTC
Read the original article
Hit count: 267
I am using BitmapFactory.decodeFile to load Bitmaps of images into my application. However, the function returns null on large images (such as those from the camera). The filepath is definitely correct, I just can't figure out why it would return null. I tried supersampling, but it didn't seem to help.
Does anyone have any idea why it would do this or how I could more easily load images taken from the camera into a Bitmap?
Thanks.
© Stack Overflow or respective owner