On 02/14/2012 07:32 PM, Mark Murphy wrote:
On Tue, Feb 14, 2012 at 10:29 AM, Kostya Vasilyev<[email protected]> wrote:
> Also worth noting: setType() is for specifying a mime type, not arbitrary
> text data (although it shouldn't matter here).
If it is not the same, it definitely matters, as the MIME type is part
of the "are these Intents equal" logic. cancel() depends upon the
underlying Intents being equivalent; two different MIME type values
would not be equivalent.
English is not my native language, but the variable name,
"text_of_last_alarm" seems to imply that it is the value used when
previously setting the alarm.
Unless, of course, the process was reset by Android and the variable's
value is not what the OP thinks it is.
Regarding extras: if the OP intented to have multiple outstanding
alarms, just using an extra without making other changes will
effectively coalesce all alarms into one.
-- Kostya
--
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