On Fri, Apr 22, 2011 at 12:20 AM, Zsolt Vasvari <[email protected]> wrote:

> So, long story short -- how can I make sure that the alarm is
> only recreated when if it doesn't yet exist?
>

Store a SharedPreference value that indicates the time you last set the
alarm for, defaulting to 0.


>  I don't see anything in the AlarmManager that would let me query its
> state.
>

Yeah, you can't AFAIK.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to