PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Background Processes
Background Processes
Iniciado por GS ICT, 13,oct. 2022 12:09 - 2 respuestas
Publicado el 13,octubre 2022 - 12:09
Hi

We want to create a simple Alarm, so it rings at a specified time.

We have created a background procedure which seems to work but runs only every 15 minutes.
A Widget only refreshes every 30 minutes and TimeSys cannot be used in Widgets.
How do we schedule a procedure to run every minute, even if the App is closed?

Thank you
Publicado el 13,octubre 2022 - 16:05
Hi

In addition, we have found that when the application is closed, the background process stops. The Automated procedure mechanism under selection "Periodic execution when the application is in background" states that "The procedure will be automatically called at regular interval when the application is in background or when it is closed. "

How do we keep the automated procedure running in the background when the Application is closed (shut down from Android). For example, we start the App and then swipe to close.

Testing on Android, Windev26.
Miembro registrado
852 mensajes
Publicado el 14,octubre 2022 - 02:06
Hi. You can use a Persistent Thread for running when app is in background.

Rubén