[android-developers] Know if my Alarm is active
Hi,
Is there a way to know if a previously set alarm is still active and
ready to go off? I'm currently saving the alarm state in a
SharedPreferences but it would be a lot more reliable to be able to
directly check on the alarm itself.
Trying to detect this scenario:
-Service schedules the alarm
-User "cleverly" kills the service/app thus killing the alarm with it
-Service stops updating until user boot the phone
I want to check within the app, I know that if A and B are true then
an alarm should be ready to go off at some point in the future....
Thanks,
Alberto
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home