Thank you for your answer.
But i see no software solution to reactivate the sleeping application.
However in your link i understand that while application sleeps, its timers remain active. So, could it be possible to execute a code in a timer that reactivate the application?
Sub Process_Globals
Dim StartTime As Long
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then StartTime = DateTime.Now
activity.Title = "I was started " & DateTime.Time (StartTime)
End Sub
As long as Android does not decide to kill the process, you will see after every start of your app the same time in the title bar.
Sub Process_Globals
Dim StartTime As Long
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then StartTime = DateTime.Now
activity.Title = "I was started " & DateTime.Time (StartTime)
End Sub
As long as Android does not decide to kill the process, you will see after every start of your app the same time in the title bar.
I tried your example by displaying time with a msgbox, and you are right !!! Each time i run again my app without leaving the first run, it is the first run that appears!
Thank you!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.