I have two activities (along with some others, but I only want to store settings):
"Main"
"Settingsmenu"
In activity_create of Main, at the very bottom:
In Activity_pause of settingsmenu:
It work's when I back out or press home, but if I force close of the app or restart my device, none of the settings come back (which sort of defeats the purpose of a settings menu)
Any help?
"Main"
"Settingsmenu"
In activity_create of Main, at the very bottom:
B4X:
StateManager.RestoreState(Activity, "settingsmenu", 60)
In Activity_pause of settingsmenu:
B4X:
Sub Activity_Pause (UserClosed As Boolean)
StateManager.SaveState(Activity, "settingsmenu")
StateManager.SaveSettings
End Sub
It work's when I back out or press home, but if I force close of the app or restart my device, none of the settings come back (which sort of defeats the purpose of a settings menu)
Any help?