On Wed, Feb 1, 2012 at 1:38 AM, Anuj Goyal <[email protected]> wrote:

> I have yet to see a webpage that nicely details the performance
> implications of using an Alarm vs. a Service.


These are two mutually exclusive APIs that are frequently, but not
necessarily, used in conjunction.
Alarm = Schedule some action to occur at a specified time (broadcast event,
start service, etc).
Service = Execute some action in the background (ex: sync app with the
cloud).

If you need to ensure your alarm continues to be set and repeating after a
reboot, you would do as Kris already suggested. A Service would not be
required for that.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to