I have some initializations in Starter Service and I want to be sure everything is starting from scratch when the app is launched after it has been closed with the back button.
So I have this code
Closing the App with the Back Button I see in the Log that the Starter Service is destroyed, but launching the App again It is not recreated and restarted.
Where I'm wrong ?
So I have this code
B4X:
Sub Activity_Pause (UserClosed As Boolean)
If UserClosed=True Then StopService ("Starter")
End Sub
Closing the App with the Back Button I see in the Log that the Starter Service is destroyed, but launching the App again It is not recreated and restarted.
Where I'm wrong ?