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.
1. There is a comment link at the top of B4XMainPage that you can use to export the project: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip
Do it and upload the zip to the forum directly.
1. There is a comment link at the top of B4XMainPage that you can use to export the project: 'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip
Do it and upload the zip to the forum directly.
I'm going to mark this thread as solved because I thought I should try an experiment by using the B4A bridge. When I took the phone off the computer and used the B4A bridge as a connection to B4A to view the logs, the the timer ticked without skipping any seconds. That means that viewing the logs from a timer using the USB direct connection to the computer and viewing the logs from the timer has an issue. For now, I will keep using the B4A bridge unless I don't have access to the internet for app development.
Anyway why do you persist in using USB debugging via a cable, we've had this conversation before, stick to using B4X-Bridge. Oh yes and learn how to use B4XPages, you've been a member for 10 years and should know to go with the flow by now.
Anyway why do you persist in using USB debugging via a cable, we've had this conversation before, stick to using B4X-Bridge. Oh yes and learn how to use B4XPages, you've been a member for 10 years and should know to go with the flow by now.