Hey,
I have a problem with my game on Android. When I exit game, it’s task is still available (via Task Manager). This is correct behavior on Android. But unfortunatelly, when I press my game’s task from task manager or press app icon - game not starts. I could observe that:
- Music starts to play for ~ 1 sec
- Music then stops and nothing else happens
This is how I quit game:
Game1.cs
protected override void Update(GameTime gameTime)
{
...
if (SceneManager.IsFinished())
{
this.Exit();
}
}
How to detect that I should recreate game ? Because when SceneManager.IsFinished() becomes true, I basically exit game, but when I recreate game, I should set isFinsihed property to false.