I am running an app with a service module which checks for data on a server.
If I stop the app and leave the service module running when I restart the app I get an error message saying 'object not initialized (Label)' and I believe what is happening is that it starts in the service module and on completing and going to the Main routine it thinks that objects have not been initialized.
If I then do not 'continue' and then start the app again it works OK.
Sub Activity_Create(FirstTime As Boolean)
Log("Start main")
phone1.SetScreenOrientation(1) ' fix as portrait
ListView1.Initialize("ListView1")
Activity.AddView(ListView1, 0%x, 10%y, 40%x, 80%y)
If FirstTime Then
Log("first time ")
Activity.LoadLayout("Main")
Log("++++++++++Counter "&IsPaused(Counter))
serv = 1
StartService(Counter)
Get_Screen_Resolution
End If
DoEvents