You may also want to look into wake locks: http://developer.android.com/intl/de/reference/android/os/PowerManager.html to help avoid your service getting snoozed by the system.
On Aug 15, 12:13 pm, Pent <[email protected]> wrote: > Yeah I was thinking the thing was being killed at first, but I have > long-term logs going to SD > and I would've seen it happen. > > Pent > > On Aug 15, 5:36 pm, JP <[email protected]> wrote: > > > Look for the following log entry: > > DEBUG/Activity(xx): Process <yourappservice> (pid:xxxxxx) has died > > In my experience this happens quite a bit on smaller devices. > > > On Aug 15, 8:31 am, Pent <[email protected]> wrote: > > > > Users are giving me logs showing alarm manager alarms just not going > > > off across many devices and OS versions. > > > > I log any calls to the alarm manager. They seem to just disappear into > > > a black hole sometimes. I usually have them chained. One goes off, I > > > do a check, then set another (usually a few hours). They're set by a > > > service. > > > > Intent ai = new Intent( this, ReceiverStaticInternal.class ); > > > ai.setAction( Keys.ActionCodes.ACTION_ALARM ); > > > > alarmPendingIntent = PendingIntent.getBroadcast( > > > this, > > > 0, > > > ai, > > > PendingIntent.FLAG_CANCEL_CURRENT > > > ); > > > alarmLastTime = ....some time in the future... > > > > alarmManager.set( AlarmManager.RTC_WAKEUP, alarmLastTime, > > > alarmPendingIntent ); > > > > I'm checking for alarmLastTime being in the past. > > > > Anyone else ? Any ideas ? > > > > Pent -- 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

