I want to make a countdown app, but when the screen turns off, the countdown stops. What should I do?
Hello Mohammad!
you can't make a timer run in background without an extension, this extension should help you
i can't use this extension can you help more
That extension is deprecated, use the iToo extension instead
You can store the time the countdown stopped, then when you bring the app back up, check that time against the current time, and subtract the seconds difference from your countdown, then start the countdown again.
no I don't want the counting to stop at all
what is itoo?
Instead of a background extension, you can use a Foreground extension to keep the countdown running when the screen turns off
The paid version of the alarm extension is able to set a timer in the background in one simple method
Taifun
Hi Kumaraswamy,
Good to know foreground is available in Itoo. I mentioned Ulli's extension because, for me, Stay Alive is 'easier' to use and understand than Itoo . SA only provides foreground.
That's right, while in the Itoo extension, the foreground also works when the app is closed.
I'm sorry, I couldn't work with this extension. This video is my application. I made this app to control devices with WIFI. I upload the app file. Please solve the timer problem. Thank you very much. If you like, I will also upload the files of the electrical part.
What exactly is the problem? The most simple solution is to follow this advice
If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...
which means in your case post a screenshot of your relevant blocks...
To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
thanks.The problem is that I want to turn on the timer and turn off the mobile screen, and the timer continues to work and after the time expires, it sends the shutdown command, but when I turn off the screen, the timer stops.
Hi @mohammad_mokhtary, in simple words, would you want to achieve such a functionality that even when your app is not running (or the screen has been turned off), you would want to run a particular task, like doing a web request?
Hi dear friend
No, I don't close the program. The program is open, I just turn off the mobile screen
Could you please check if this option is enabled in the Properties?