In my game a splash screen is shown which preloads all the sound/
bitmap resources to be used by the game. The game consists of other
activities that all depend on resources i.e menu activities, game
activity etc.

However when simulating low memory conditions in the emulator, I
noticed that our game process was being killed and when pressing the
back key the last activity that was on screen of the game is loaded,
however it crashes as the resources are not in memory.

Does that mean every activity in my game needs to check is the
resources are loaded and if not show up the splash screen activity and
load the resources before returning to the activity? Is there a nicer
way of doing this?

Can't I just make the system follow the normal pattern of starting my
game i.e splash screen and then display the menu and then the user can
choose to resume the game themselves. Is this possible?

-- 
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