Keeping AndEngine game alive during actual gameplay

view story

http://stackoverflow.com – So in the android game I am working on, I've been told it is very frustrating to have the game killed by android while in background, when the game is actually in-progress. The game is built using AndEngine, so takes place all within a single OpenGL activity, which moves between menus and game using scenes. I am looking to keep the game alive if it is moved to the background while the game scene is active (user actually playing a game), otherwise it's not too big a deal if it is killed. I've read a about running as a foreground service so android won't kill it, but is that possible seeing as (HowTos)