When i run my project (an activity with a service) in release mode in my Samsung Galaxy S20, after about 3 minutes of screen turned off, the complete app just freezes for a few seconds (or even minutes sometimes) until i turn on screen again, and then the program continue working...
I want to use the countdown timer inside the scrollview, but after several hours of trying, I did not get the result!
The times will be different and must be set when creating, for example, one should be 1 hour, one should be 7 hours and...
And the important thing is that an...
I need an advice. I have an application where there is a timer and after a while it communicates with the server and displays notifications on the screen.
Problem: When I press the power button, the application jumps to "Activity_Pause" and the timer does not work.
When the LCD screen...
[CODE lang="b4x" title="timer" highlight=""6,7""]Sub timer1_Tick
If sectimer==60 Then
Timer Stops when I press a button in the activity, Any Help
Seven segments LED display, Arduino Uno or Nano egg timer. Seconds displayed, minutes are set by buttons. Also buttons for start and stop, pressing together MIN and MINx10 resets the display. Alarm at the end of count down switches on a 5VDC buzzer or a LED.
The code multiplexes the 4 digits at...
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...
after several months of work, forum posts, problems solved and money spent, I finally finished my last application in b4x
It names Click & Claim, and it is a free faucet for android.
The feature that distinguishes this app from the others, in addition to working, is that it saves...
I've been working on my project that requires the app to run the timer when the app is in Inactive mode - when event App_Inactive fired.
Please see my main module code. I also attached my project.
'These global variables will be declared once when the...
i using the PersianTimer library . This Library can Count Down number all the time! it means when activity is Paused, the timer is working too.
so i use this code
Private Sub timer_onTick(Tag As String,TimeUntil As Int)
Time_Finish = TimeUntil
Dim seconds, minutes As Int...
I am making an application, using a timer, the application timer works for 60 seconds but before the 60 seconds pass my phone screen time out and turn off as the screen time out is 45 seconds.
How can i keep the screen on until the timer is working
Can someone clarify if it is OK to re-initializer a timer several times within the same activity i.e.
Sorry about the basic question, but I am sure I read somewhere on forum or in the documentation (an now can't find it) that timers should only be...
I've problem with back button...
When an admob Interstitial ad is displayed, if you press the back button, you can close the ad before the ad countdown ends.
I tried with a timer but the activity pauses and the timer does not work.
How do I fix this?
Hi. I'm trying to have two timers working at the same time (GPS timer and another timer). But after a while, only keep working the another timer, and the GPS timer is OFF.
it may be because one timer cancels the other?
I attach the log (GPS Recibido is when i reseive GPS_LocationChanged and...
I have a small app (this is just an example) that does nothing but runs a timer.
It also has 2 activities and my code in Starter runs a timer that checks if both of theses activities are paused.
If so - let's wait for 10 seconds a show a message in a log Log("Log Out")
The idea is...
I would like to execute some code and wait for it to complete, but I can't use Wait For sub because my application is not monolithic, so I'm trying the Timer, that is when the application ends, I start a timer for some time hoping that this may be intercepted.
Unfortunately this does not work...
I'm using B4J for the first time and im struggling a lot.
I have to implement a programm for traffic lights based on a tcp/ip connection.
I managed to do the connection thing.
Now I want to program the traffic light. I want to use a simple timer.
This is what i've got so far...
I am trying to display a stopwatch to the user.
The moment the user pushes the record button and want to display in a label the time elapsed in format "hh:mm:ss:ms" and see the time running.
I assume one has to create a Timer Object and set it to enabled when the button is pressed and then in...
I need help on this one please.
I have an old VB6 application that runs well for my client. It includes an auto reminder for their clients to keep appointments. Appointment reminders are sent via web based bulk SMS service. For this to happen, i created a small app on the server: