AlarmManager vs Handler.postDelayed

Viewed 2555

In a service which method of delayed execution to be used handler.postdelayed or Alarmmanager. what are the pro and cons.

I have 2 services (a) which does background processing and updates the UI via a boradcast message (b) which does some calculation and updates the homescreen widget every 5 secs.

Thanks

3 Answers
Related