I have a question about the background thread handling change that
went into SDK 1.6.  I read here that BG threads get placed in a
scheduling class that can't use more than 5-10% of the CPU in order to
keep the foreground responsive.  Do system services get into that
scheduling class?

My app uses repeating alarms.  It was great with 1.5, very reliable.
Since the upgrade to 1.6, the phone seems to be dropping some of my
repeating broadcasts, especially if I am doing something fun in the
foreground like with WIFI when the Alarm is supposed to fire.  I do
not have any of the task killer programs that have been a hot topic
lately.  To be clear, the dropped alarm broadcast behavior is
intermittent.  I am not 100% sure if I really am doing something when
it has failed.  If the timer is a one shot, it seems to work better
but there is no real empirical evidence here. My phone is usually in
my pocket when I fire one of the one shot alarms.  If my theory about
system services in the background scheduling class is correct, then I
probably cannot find a workaround or defensively code a solution.
Will it be the same in 2.0?

Have others seen issues with alarms and with the setRepeating method?
I am looking for suggestions to troubleshoot this problem.  How can I
determine if the problem is the broadcast, if it is the repeating
alarm creation, or if there is some other issue like low memory coming
in to
play.  Any ideas?

Thanks and regards,
Beth
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to