title: Android Best way to convert byte array to Bitmap?
body: <p>I know why OutOfMemoryError Exception occurs.But there are any best way to convert byte array to Bitmap.And I used below code ,But when large byte it force close app and gives OutOfMemoryError Exception.</p>
  
  <p>And i have API it just return me byte array nothing else.</p>
  
  <pre><code>Bitmap bmp = BitmapFactory.decodeByteArray(bytearray, 0, bytearray.length);
  </code></pre>