Greetings,
Can you look at this small linked B4A project?
It's a simple project that has a ticking timer that ticks in the background once every second. This works only when the phone is connected to my computer and I watch the logs so the ticks in B4A with or without the phones screen turned on. If I disconnect the phone from the computer, it still runs in the background but the timer skips as shown in the attached screen shot. If you look at the attachment, it shows the timer pausing for about 7 minutes randomly.
We ran this app on a Samsung S10 Plus with Android version 11 installed.
The code is based on this app that also runs in the background.
https://www.b4x.com/android/forum/threads/background-location-tracking.99873/a
I'm not sure why the timer skips ticking randomly only if the phone if not connected to the computer.
All help will be greatly appreciated.
Can you look at this small linked B4A project?
It's a simple project that has a ticking timer that ticks in the background once every second. This works only when the phone is connected to my computer and I watch the logs so the ticks in B4A with or without the phones screen turned on. If I disconnect the phone from the computer, it still runs in the background but the timer skips as shown in the attached screen shot. If you look at the attachment, it shows the timer pausing for about 7 minutes randomly.
We ran this app on a Samsung S10 Plus with Android version 11 installed.
The code is based on this app that also runs in the background.
https://www.b4x.com/android/forum/threads/background-location-tracking.99873/a
I'm not sure why the timer skips ticking randomly only if the phone if not connected to the computer.
All help will be greatly appreciated.
Attachments
Last edited: