android - alarms or services for periodic jobs -
for android application needs periodic jobs done, more appropriate solution?
it seems me services right choice. can run periodic jobs alarms in background , after rebooting. should continue use whichever easier or stick 1 of them in case?
what drawbacks , advantages of 2 choices?
in short, don't want invent way follow patterns other android developers follow.
use service , alarmmanager
. continue getting alarms after rebooting subscribe boot_completed
intent (you need corresponding permission).
Comments
Post a Comment