I am already doing this.
Sub Globals
Dim pw As PhoneWakeState
End Sub
Sub Activity_Resume
pw.KeepAlive(False)
'lm.Initialize("Location")
End Sub
Sub Activity_Pause (UserClosed As Boolean)
pw.KeepAlive(False)
End Sub
When I put the phone to sleep mode i see the message in the log as
WakeLock already held.
Sub Globals
Dim pw As PhoneWakeState
End Sub
Sub Activity_Resume
pw.KeepAlive(False)
'lm.Initialize("Location")
End Sub
Sub Activity_Pause (UserClosed As Boolean)
pw.KeepAlive(False)
End Sub
When I put the phone to sleep mode i see the message in the log as
WakeLock already held.