title: Reading an image file into bitmap from sdcard, why am I getting a NullPointerException?
body: <p>How can I read an image file into bitmap from sdcard?   </p>
  
  <pre><code> _path = Environment.getExternalStorageDirectory().getAbsolutePath();  
  
  System.out.println("pathhhhhhhhhhhhhhhhhhhh1111111112222222 " + _path);  
  _path= _path + "/" + "flower2.jpg";  
  System.out.println("pathhhhhhhhhhhhhhhhhhhh111111111 " + _path);  
  Bitmap bitmap = BitmapFactory.decodeFile(_path, options );  
  </code></pre>
  
  <p>I am getting a NullPointerException for bitmap. It means that the bitmap is null. But I have an image ".jpg" file stored in sdcard as "flower2.jpg". What's the problem?</p>