title: Handling Pause/Resume and Using Notifications in Android (with AndEngine)
body: <p>In the Android game I am working on, the game is killed by android while in the background. The game is built using AndEngine, so it takes place all within a single OpenGL activity, which moves between menus and the game using scenes. I am looking to keep the game alive if it is moved to the background while the game scene is active (i.e., the user actually playing a game).</p>
  
  <ul>
  <li>I've read a about running as a foreground service so android won't kill it, but is that possible seeing as the game is only a single activity?</li>
  </ul>
  
  <p>Optimally, I would like an ongoing notification to be displayed if the game is in-progress in the background, that the user can click to bring the game back to the foreground. (An example of this behaviour is the GBA Emulator GameBoid)</p>