title: Where the heck is Bitmap getByteCount()?
body: <p>I know the Android platform is a huge mess, over complicated and over-engineered, but seriously to get the size of a bitmap, is it really necessary to do all those conversions?</p>
  
  <pre><code>Bitmap bitmap = your bitmap object
  ByteArrayOutputStream stream = new ByteArrayOutputStream();
      bitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);
      byte[] imageInByte = stream.toByteArray();
  long length = imageInByte.length;
  </code></pre>
  
  <p>According to Google Documentation Bitmap has a method <a href="http://developer.android.com/reference/android/graphics/Bitmap.html#getByteCount%28%29" rel="noreferrer">getByteCount()</a> to do this, however it is not present in SDK2.2, haven't tried other's but there is no mention of it being deprecated or that API support is any different from API 1... So where is this mysterious method hiding? It would really nice to be albe to simple do </p>
  
  <pre><code>bitmap.getByteCount()
  </code></pre>