Hi! I'm using a timer that show different things in my windows, but after a few time, my phone goes to stand by state. I've used KeepAlive(True), but it is not working. Any idea??
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim timer1 As Timer'Frecuencia
Dim pws As PhoneWakeState'Prevenir el ahorro de energía
End Sub
Sub Activity_Create(FirstTime As Boolean)
p.SetScreenBrightness(1)
pws.KeepAlive(True)
Timer1.Initialize("timer1", main.frecuencia)'Frecuencia
Timer1.Enabled = True
End Sub
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.