Android Question timer into a service module

kalarius

Active Member
Licensed User
Longtime User
hi,

I make a service that is auto startup
no activity layout just the service
and I need to have a timer on it

how can I add a timer on the service module?

Kalarakis
Greece
 

mangojack

Expert
Licensed User
Longtime User
Exactly the same way as if it was an Activity module.

Just declare the timer in service Process Globals , Initialize it at some point and create a Ticks sub to catty out specific task.
 
Upvote 0
Top