Saturday, 7 September 2013

How to use alarm manager for notifications?

How to use alarm manager for notifications?

In my project, I have a database with Year, Month, Day, Hour, Minute. For
each row in this database I want to put notification with Title and
description for user in time, that described in that row, but when I use
NotificationManager, it activates at once when I add new time to database.
I read this article: Alarm Manager Example, about Alarm Manager Example,
but I still can't understand, how to use it for notifications, because
when I try to use, nothing happens. I'll be glad, if someone can help me.

No comments:

Post a Comment