Offline mobile app: loop over certain period of time
0
Hi community I am looking for a solution to the following task. User hits button A loop runs over fixed period of minutes, e.g. 10 minutes A sound is played every 15 seconds Any idea how to do this? Thanks for your help, Willfried
asked
Willfried Wienholt
1 answers
0
If use the latest version of Mendix you could do something like:
Create a nanoflow button
In this nanoflow create a variable with the current date time
Create a decimal variable that checks seconds between(function secondsBetween) your first variable and the current date time and check the seconds between is 15 or a modulo of 15, if true play a sound