can someone please help me, make a stopwatch that works in the background, when the user logs back into the application then he will continue the stopwatch..
Explain in more detail what exactly the goal is.
Should the stopwatch stop when the user closes the app or logs out?
Or should the stopwatch, once started, continue to run while the app is closed?
How long should the stopwatch run?
Should it also work in idle / sleep mode (screen off)?
And show us what youβve tried so far (blocks).
Before you ask a question / open a new topic please take care of the following points: The forum was previously searched for similar topics / issues. Give a precise (detailed) description of the issue / bug, the goal. Show the (relevant)...
Reading time: 1 mins π
Likes: 74 β€
gio06
(Gio)
March 31, 2022, 11:03am
3
Please have a look this topic
GitHub
Tasks 4.0/4.1
ββββ ββββ ββββ ββββ ββββ ββββ ββββ ββββ ββββ ββββ βββββββ ββ Background works simplified
[logo]
In this version, the complete source code is rewritten to make it better with significantly large improvements. This version lacks some features which were in the previous versions until it gets stable enough. There are a few highlights, which are mentioned below.
Highlights
Ability to access appβs procedures.
Improved scheduling of tasks and components β¦
Oh, I doubt a timer runs in the background for long periods of time.
So I donβt think thatβs a solution.
But Iβm happy to be convinced otherwise. So someone might create a test app where this will work. Iβm curious.
Taifun
March 31, 2022, 8:38pm
5
No background tasks extension necessaryβ¦
Store the start time in TinyDB and in Screem.Initialize calculate current time - start time to get the elapsed time
Taifun