Hello, I am building a two activities app, the main activity, allows to set few parameters, and to start the second one, called ingame, and this one is a game.
When I go out of the app during the game, would love to come back to ingame activity when I return to the app, but it always resume on the main activity. I tried to work around by starting the ingame activity inside the the main resume sub , it kind of works but I got really weird behavior. When resumed, when I click any button from ingame, the app pause immediately to return to my phone desktop.... So what is the proper way to do this ?
Thank you very much.