http://github.com/commonsguy/cwac-wakeful
On May 25, 10:16 am, Evan Ruff <[email protected]> wrote: > Hey all, > > I was wondering if someone could help me clarify how I can created the > following: > > 1. My application uses AlarmManager to trigger an IntentService > 2. IntentService gets a WakeLock > 3. IntentService runs all the necessary code > 4. IntentService releases WakeLock > > For an IntentService, Is there a way to accomplish this without using > the BroadcastReciever Pattern, as created by Mark Murphy? It's my > understanding that the AlarmManager will invoke the Service directly, > so can I get a valid wake lock inside of the onHandleIntent method? > > Thanks! > > Evan > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

