Erel,
i have tried the code below, and still the screen and the backlight stays on all the time (i don't want the backlight to stay on, to save battery)
Sub Globals
Dim GPS1 As GPS
Dim Awake As PhoneWakeState
Dim BrightScreen As Boolean
End Sub
Sub Activity_Resume
GPS1.Start(1000,0)
Awake.KeepAlive(BrightScreen = False)
End Sub
is there anything i'm doing wrong here?
Thank you