Hi All.
I'm having some issues with the implementation of WakeState.
In my Activities, I have implemented:
In my Device, I have the follow configuration:
Configuration -> Display -> Screen Time Out -> 30 seconds
My App receives a GCM notifications.
So after some minutes (really all scenarios after 30 seconds), when the related activity that process the message starts, the display turn off, and after 1 or 2 seconds turn on automatically. This happens in Samsung Mini 3.
But when I'm testing my App in a Motorola RAZR HD, the Display just turn off.
Anybody have any ideia in how to solve this issue?
Thanks.
I'm having some issues with the implementation of WakeState.
In my Activities, I have implemented:
B4X:
Sub Activity_Resume
WakeState.KeepAlive(False)
End Sub
Sub Activity_Pause (UserClosed As Boolean)
WakeState.ReleaseKeepAlive
End Sub
In my Device, I have the follow configuration:
Configuration -> Display -> Screen Time Out -> 30 seconds
My App receives a GCM notifications.
So after some minutes (really all scenarios after 30 seconds), when the related activity that process the message starts, the display turn off, and after 1 or 2 seconds turn on automatically. This happens in Samsung Mini 3.
But when I'm testing my App in a Motorola RAZR HD, the Display just turn off.
Anybody have any ideia in how to solve this issue?
Thanks.