Android Question Doubts about scheduled services

Xicu

Active Member
Licensed User
Longtime User
Hi all,
someone can answer if these statements are correct?:

1-There is no command to know directly if the execution of a service has been programmed previously. Is that so?. I must use for example some global variable to control it's state.

2-If a service was previously scheduled, and I call back 'startserviceatexact' or 'startserviceat', the old scheduled will be overwritten by the new one. Is it like that?

3-If I call CancelScheduledService and the service has not been programmed before, simply android will ignore the instruction. Correct?

Thanks in advance!
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…