Strange "Out of Memory" Error
<p>My app is running properly on some Android devices but on some devices it's giving an out of memory error.</p>

<p>Here is the LogCat log:</p>

<p><a href="http://logcat.miui-dev.com/147001" rel="nofollow">http://logcat.miui-dev.com/147001</a></p>

<p>What this Activity does is load Bitmaps, and display those Bitmaps through <code>onDraw()</code>.</p>

<p>What would cause this error?</p>

<p>what am doing ?</p>

<p>Am just maping all images in a method image </p>

<p>_bitmapCache.put(R.drawable.gb2, BitmapFactory.decodeResource(
                getResources(), R.drawable.gb2));</p>

<p>and when a constructor is called i call that method , while using image i just use</p>

<p>canvas.drawBitmap(_bitmapCache.get(R.drawable.level1c1), 0, 0, null);</p>

<p>to craw the image</p>
