Ernani
(Skate)
June 23, 2023, 7:46pm
#1
Can anyone give any tips on how to make the app run in the background? I need to put a timeout on a page, but the timer stops when the screen turns off. I need the stopwatch to keep running. I’ve already tested the “TaifunBatteryOptimization” extension, but it didn’t work.
Apps made with Kodular don’t run in background.
Taifun
June 23, 2023, 9:32pm
#3
And what exactly should happen after that timeout?
This statement is incorrect
Taifun
1 Like
Ernani
(Skate)
June 23, 2023, 10:14pm
#4
A popup message will appear with a “CLOSE” button and a message warning that the time on the page is over. When you click “CLOSE”, it will refresh the page.
vknow360
(Sunny Gupta)
June 24, 2023, 1:27am
#5
Apps never run in background, services do. And it has been possible for a long time to create and run services.
1 Like
Ernani
(Skate)
June 24, 2023, 7:46am
#6
How would it be? Can you exemplify?
vknow360
(Sunny Gupta)
June 24, 2023, 8:36am
#7
Always search before you ask.
Itoo 2 The newer version of Itoo now has updated ItooX framework which runs more reliably across all platforms, devices and Android versions. Services Itoo supports two types of services. Foreground keeps the service alive throughout...
Reading time: 21 mins 🕑
Likes: 140 ❤
[image]
ItoO Tasks is a specially built extension (completely different from the old one) that makes such Environment that it would be possible to allow things like Procedures/Variables to be accessed when the App is In Background.
Blocks
Here are some of the blocks, blocks that arent mentioned are intended for Test only purpose.
Initialize
[image]
Initializes the service that would run after @latency.
Name is the (main) procedure name that will be called.
Of “runWhileActive”, if set…