The identity of an Intent is based on the action, data, type, and categories; the extras are not considered. If you want to have two different PendingIntent objects, you'll need to have something different about them in those basic fields.
On Sun, Jan 11, 2009 at 5:24 AM, code_android_festival_way < festival.s...@googlemail.com> wrote: > > Hello. > > At the moment I'm trying to register/set two alarms that open up a > background service. Both alarms should open up the same service doing > something depending on the extras that come with the intent. (the > alarms have different startup and interval values) > > Why can't I do that. I get only one alarm registered. Do I really have > to implement two services (which do nearly the same) for that to work? > > Regards. > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---