Take the 2-minute tour ×    Here's the code I am using:  public
static Bitmap loadBitmap(String filePath){     Bitmap result =
BitmapFactory.decodeFile(filePath);      if(result == null){
if(filePath.contains(".jpg") || filePath.contains(".png")){
//This is the error that occurs when I attempt to load an image
from the Camera DCIM folder or a large png I imported from my
computer.             Utils.Toast("Could not load file -- too
big?");          } else {             Utils.Toast("Could not
load file -- image file type is not supported");     return
result;   share|improve this question Do you save camera images
on SDCard ? Do all direcotries from path exist ? –  Damian
Kołakowski Jun 1 '10 at 7:12 Yes, the image is selected via a
file browser so the path is certain to be correct. Other
(smaller) images selected in the same folder work perfectly. – 
GuyNoir Jun 2 '10 at 15:59 Can you please provide some piece of
the code you are using? –  Cristian Jun 6 '10 at 4:01 Added the
code I use. T