PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → Background Processes
Background Processes
Started by GS ICT, Oct., 13 2022 12:09 PM - 2 replies
Posted on October, 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
Posted on October, 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.
Registered member
795 messages
Popularité : +40 (42 votes)
Posted on October, 14 2022 - 2:06 AM
Hi. You can use a Persistent Thread for running when app is in background.

Rubén