We can't split up the bitmap into smaller ones. It is a drawing program and we draw shapes to the offscreen bitmap. For now we have just put a gc() and recycle() before reallocating bitmaps, and also put a gc() at the end of onDestroy() as suggested in another thread. This is working so far, but I can see that running out of memory could be an issue in many other situations where you are dealing with large documents or graphics.
On Sep 2, 8:07 pm, "EnjoyLifeHappyEveryday--Jay Meng" <[email protected]> wrote: > hey > [email protected]<[email protected]> > > We meet the same question,but we thought two ways to solve it: > 1> cutting up a big bitmaps into many small bitmaps, less than 2M of every > bitmaps, and then splitting joint small bitmaps > 2> using virtual-point idea to call small bitmaps when is used at once and > release small bitmaps when isn't used at once. > > Hope it useful for you. > > Best Regards. > > Jay Meng > EnjoyLifeHappyEveryday > CodeCore Groups -- 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

