I guess there's no choice but for each activity in my game to check if
resources are loaded if not load them with a splash screen?

On Nov 30, 11:35 am, rukiman <[email protected]> wrote:
> In my game asplashscreenis 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 onscreenof 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 thesplashscreenactivity 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.esplashscreenand 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