I'm writing a simple game so I can learn more about android development. I need a little help designing the menu system. When you start the application you will see a simple menu:
Start New Game Resume Game (Dynamically shown after a game has been started) Scoreboard Instructions About When you click on "Start New Game" it starts a new "Play" activity (This works fine) The "Resume Game" option should only be visible when a game has already been started and the user returns to the main menu. How do I determine whether the "Play" activity has been started or not in order to display this menu item? Also, how do I handle the back button press when in the "Play" activity so that the game state is paused and not lost when returning to the main menu? Example: The game application is started and the user sees the following screen New Game Scoreboard Instructions About The user then taps New Game and starts to play. In the middle of the game the user hits the back button (or receives a phone call, starts another app, etc.) and sees the following screen when returning to the game app: New Game Resume Game Scoreboard Instructions About The user either taps "New Game" and starts a new game or taps "Resume Game" and continues where he left off. How should I approach this using multiple Activities? Thx, Aaron --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

