Android Question How to schedule multiple Routine calls

Asim A Baki

Active Member
Licensed User
Longtime User
I need to multi schedule execution for a sub directory with a different parameter to be executed in accurate time

this is not a service, it is just a sub routine
 

KMatle

Expert
Licensed User
Longtime User
this is not a service, it is just a sub routine

It's very simple to move that sub to a service. You can use "ServiceStartAtExact". Using it in an activity (e.g. with a timer) will cause problems as the activity will pause when the user presses the home button (= when it is not "visible"). Work with partial lock/Wake state (use the search for that).
 
Upvote 0
Top