title: Display byte array of image in imageview
body: <p>I am trying to show byte array of image from server inside the image view of an android activity. I am able to get the byte array correctly as sent from the server, but while converting it into bitmap it is always returning null. I have used the BitmapFactory.decode(byteArray,0, byteArray.length) for converting image byte array to bitmap which is returning null always. </p>
  
  <p>Please help me solving this and tell me if there are any alternative.</p>
  
  <p>Thanks in advance.</p>