SOLVED!

The issue appears to have been caused by keeping pointers for drawing
on offscreen images.

I have a six or seven small offscreen images in memory that are
updated periodically. I was maintaining a Canvas pointer for each of
them, e.g.:

Bitmap bitmap = Bitmap.createBitmap( 128, 32,
Bitmap.Config.ARGB_8888 );
Canvas canvas = new Canvas( bitmap );

If I stopped holding these canvas objects in memory and instead
instantiate a new one each time I need to draw on the offscreen image
it works fine.

I wasn't drawing on the images or anything when the crash occurred,
but for some reason keeping multiple offscreen Canvas objects in
memory seems to cause 1.5 to barf.

Very hard to debug as basically I'm working with an entire finished
game that has been ported from JavaME using a JavaME->Android
'wrapper' that I've written.

Thanks for the input everyone.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to