Android Question Timer and GPS timer at the same time in service

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 Timer Recibido is when The timer tick is received)

The GPS timer is 30 seconds and Timer is 35 seconds.


Thank you for your help

1585694102274.png
 

JohnC

Expert
Licensed User
Please post the code in the two timers so we will have a better idea of how you are doing things.
 
Upvote 0
Top