Hello, I have a question about alarms used with services with regards
to wake locks. The documentation explains the behavior using
BroadcastReceivers, a wakelock is held during onReceive(), but doesn't
describe the behavior for alarms starting services with the RTC_WAKEUP
flag. What is the behavior in this case?

I have an app implementing this, an alarm is created with the
RTC_WAKEUP flag that starts a service. The service onCreate() then
starts a thread to do some network activity. It seems to work just
fine but I just want to make sure that I don't need to explicity hold
a wakelock myself.

-- 
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