I don't understand how to use AlarmManager to post notifications. I think
that all notifications is managered by NotificationManager but not
AlarmManager, although they are started and canceled according with alarms
life cycle.

In fact, The behavior of notifications were right, no the problem, before I
changed some thing in my code. If need, I can write these difference code
snippet to here.


2011/2/7 TreKing <treking...@gmail.com>

>  On Sun, Feb 6, 2011 at 7:21 AM, San Zhang <dahua007...@gmail.com> wrote:
>
>> The results are same: The notification can be deleted from status bar, but
>> it would be displayed twice (and only twice) when another alarm notification
>> (with different value of noti_id) be displayed. I don't understand what is
>> happened. I have searched internet by google but not answer for this.
>
>
> Are you using AlarmManager to post these notifications? Is so, have you set
> a repeating alarm? Is so, are you canceling your alarm registered with
> AlarmManager when the notification is canceled?
>
>
> -------------------------------------------------------------------------------------------------
> 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 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

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