A Almog Active Member Licensed User Feb 24, 2019 #1 Hello, Does anybody know a way to handle the app closed, so if the system or the user closes the app, it won't close but the current 'position' of the user will be saved? (maybe with some special permission?) Thanks in advance.
Hello, Does anybody know a way to handle the app closed, so if the system or the user closes the app, it won't close but the current 'position' of the user will be saved? (maybe with some special permission?) Thanks in advance.
Geezer Active Member Licensed User Longtime User Feb 24, 2019 #2 You can't stop the app being closed, but the activity_pause event will be triggered and you can save whatever information you need to before it closes. Upvote 0
You can't stop the app being closed, but the activity_pause event will be triggered and you can save whatever information you need to before it closes.
Myr0n Active Member Licensed User Longtime User Feb 25, 2019 #3 To save the state you could try StateManager - Helps managing Android applications settings and state Upvote 0
To save the state you could try StateManager - Helps managing Android applications settings and state