On Tue, Mar 13, 2012 at 3:55 PM, Levi Ribeiro <[email protected]> wrote: > i know that, but i need to wake up the device at certain time.
Use AlarmManager. In your previous post, you complained about AlarmManager without saying what was not working. Bear in mind that AlarmManager *only* guarantees that a device will stay awake *if* you use a broadcast PendingIntent, and then *only* long enough for onReceive() to be processed. That's why I wrote the WakefulIntentService: https://github.com/commonsguy/cwac-wakeful -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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

