android 2.3.6
Please watch this video to see at I am facing !
Could be this be ralated in any way with keep_alive function ?
Reproducing the state :
1.The main activity is onfront and keep_alive function is set
2.Power button is pressed
3.see video
Do I have to catch the power button pressed or home button in order to release_keep_alive ?
When do I use release keep_alive ? I do release the function on back key pressed ..when I close the activity .
Thank you
Please watch this video to see at I am facing !
Could be this be ralated in any way with keep_alive function ?
Reproducing the state :
1.The main activity is onfront and keep_alive function is set
2.Power button is pressed
3.see video
Do I have to catch the power button pressed or home button in order to release_keep_alive ?
When do I use release keep_alive ? I do release the function on back key pressed ..when I close the activity .
Thank you
B4X:
Sub keep_alive
Dim ph As PhoneWakeState
ph.ReleaseKeepAlive
ph.KeepAlive(True)
End Sub
Sub release_keep_alive
Dim ph As PhoneWakeState
ph.ReleaseKeepAlive
End Sub