Android Question Resume app to the right activity.

Victor jung

Member
Licensed User
Longtime User
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.
 

Victor jung

Member
Licensed User
Longtime User
But I am also trying, to use an ongoing notification to go back to the app easily, that works well, but when the app is killed in the recent app manager, the notification doesnt disapear... how to do so? Also is it possible to add a exit button in a notification?
 
Upvote 0
Top