title: Getting BLOB data in Android, null exception
body: <p>I insert a Bitmap data (transed byte[] array) in Sqlite where BLOB column.<br>
  I use this source to get the data.</p>
  
  <pre><code>//Get the data
  byte[] byteArray = helper.getPicture(appWidgetId);
  //Change byte[] data to Bitmap
  Bitmap bmPicture = BitmapFactory.decodeByteArray(byteArray, 0, byteArray.length);
  </code></pre>
  
  <p>But the android showing up error message, it's bitmap is null<br>
  So I added check source.</p>
  
  <pre><code>//Get the data
  byte[] byteArray = helper.getPicture(appWidgetId);
  //Check, If byte is not null
  if (byteArray != null) {
  //Change it to Bitmap
      Bitmap bmPicture = BitmapFactory.decodeByteArray(byteArray, 0, byteArray.length);
  }
  </code></pre>
  
  <p>It's perfect...<br>
  I can't understand why added 'if source' can load data.<br>
  Why not added 'if source' can not load data.<br></p>
  
  <p>Its looks like Interface... :&lt;<br></p>