PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Background Processes
Background Processes
Iniciado por GS ICT, out., 13 2022 12:09 PM - 2 respostas
Publicado em outubro, 13 2022 - 12:09 PM
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 em outubro, 13 2022 - 4:05 PM
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.
Membro registado
797 mensagems
Popularité : +40 (42 votes)
Publicado em outubro, 14 2022 - 2:06 AM
Hi. You can use a Persistent Thread for running when app is in background.

Rubén