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

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -