PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → [WM24] Detecting inactivity Android and iOS
[WM24] Detecting inactivity Android and iOS
Iniciado por rob, dez., 30 2019 10:35 PM - Sem resposta
Membro registado
105 mensagems
Publicado em dezembro, 30 2019 - 10:35 PM
In WM24 is there any way to detect if the screen on the device has turned off due to inactivity?
I have a window with a cyclic thread that runs every so often, and in the case of the app being minimized I can use the "Move to the background" and "Move to the foreground" code blocks to manage that thread in that instance.

But I can't find a way to tell if the device has gone to sleep due to inactivity.

Thanks!