[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2013-08-27 Thread Lai Vung
Thanks Jon. It works very well for me. You saved me a day. Thank you. Hai On Sunday, December 7, 2008 2:56:10 PM UTC+7, Jon Colverson wrote: On Dec 5, 7:56 am, Jon Colverson jjc1...@gmail.com wrote: On Dec 5, 6:41 am, Jon Colverson jjc1...@gmail.com wrote: I'd been having some weird

[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-12-06 Thread Jon Colverson
On Dec 5, 7:56 am, Jon Colverson [EMAIL PROTECTED] wrote: On Dec 5, 6:41 am, Jon Colverson [EMAIL PROTECTED] wrote: I'd been having some weird issues with AlarmManager seemingly not firing my alarms when the device is asleep. I'm using the alarm to start a service and I was acquiring my

[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-12-05 Thread Noam Wolf
I was setting my AlarmManager in the wrong place, namely an onXxx event. What i did was set the AlarmManager on a user action (like save or whatever) and that solved my problem. Check it out Applications Tools ClockApps On Dec 5, 2:56 am, Jon Colverson [EMAIL PROTECTED] wrote: On Dec 5,

[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-12-04 Thread Jon Colverson
On Nov 29, 12:15 pm, Noam  Wolf [EMAIL PROTECTED] wrote: I have a BroadcastReceiver which acquires a lock onReceive.  I use an alarm manager with AlarmManager.RTC_WAKEUP set to broadcast my intent.  I have found that when the phone is locked (and asleep) it will not wake up sometimes, and

[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-12-04 Thread Jon Colverson
On Dec 5, 6:41 am, Jon Colverson [EMAIL PROTECTED] wrote: I'd been having some weird issues with AlarmManager seemingly not firing my alarms when the device is asleep. I'm using the alarm to start a service and I was acquiring my wake lock in onStart(). I tried acquiring the lock in

[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-12-02 Thread Noam Wolf
ping... anyone? On Nov 29, 12:15 pm, Noam Wolf [EMAIL PROTECTED] wrote: I have a BroadcastReceiver which acquires a lock onReceive.  I use an alarm manager with AlarmManager.RTC_WAKEUP set to broadcast my intent.  I have found that when the phone is locked (and asleep) it will not wake up