title: Android byte array to Bitmap How to
body: <p>How can I convert byte array received using socket.</p>
  
  <ol>
  <li><p>The C++ client send image data which is of type uchar.</p></li>
  <li><p>At the android side I am receiving this uchar array as byte[] which is ranges from -128 to +127.</p></li>
  </ol>
  
  <p>What I wanted to do is that receives this data and display it. For that I was trying to convert to Bitmap using <code>BitmapFactory.decodeByteArray()</code>, but no luck I am getting null Bitmap. Am I doing right or any other method available.</p>
  
  <p>Thanks in advance....</p>