[android-developers] Re: Insufficient Memory Error when launching application for second time after calling finish() in main activity..

2009-04-29 Thread quakeboy
Hey i found a lot of help with this article http://android-developers.blogspot.com/2009/01/avoiding-memory-leaks.html Hope it helps others too On Apr 22, 5:47 pm, quakeboy prasna...@gmail.com wrote: Thnx for replying SOB.. I found I was using all Animation objects like that and I changed it.

[android-developers] Re: Insufficient Memory Error when launching application for second time after calling finish() in main activity..

2009-04-22 Thread quakeboy
Thnx for replying SOB.. I found I was using all Animation objects like that and I changed it. Later, still I found it was crashing at one particular line.. It might be helpful for developers so here it is.. ==BEFORE=== I set a different background at runtime.. like this..

[android-developers] Re: Insufficient Memory Error when launching application for second time after calling finish() in main activity..

2009-04-21 Thread Streets Of Boston
Do you statically cache objects? If your activity is gone/finished, that does not necessarily mean that your game's process has died. Static references/caches may still be active. On Apr 21, 7:06 am, quakeboy prasna...@gmail.com wrote: I have made a game with just one activity.. I just replace