PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Controlling the [Back] button in Android Devices
Controlling the [Back] button in Android Devices
Iniciado por ULISES ( Optimus ), mar., 27 2013 2:36 PM - Sem resposta
Membro registado
1 mensagem
Publicado em março, 27 2013 - 2:36 PM
Hi!

How can i prevent the exit from an Android window/application via the [Back] (physical) button on the Android device? (in my case, a Samsung Galaxy)

The [BeforeClosing] event does not apply for android applications, and I can't find any event associated with the [Back] button.

I'd like to prompt the user if she wants to exit or not.

Any suggestions?