Reputation: 31594
I'm writing an app, that lets users subscribe to notification for TV transmissions. Currently the user can choose email, sms or push, but it all feels a bit overkill for a simple timed notification.
I wonder if I can tell Android to simply "show this Notification at 11:30"?
Upvotes: 2
Views: 1414
Reputation: 1006604
I wonder if I can tell Android to simply "show this Notification at 11:30"?
If by "Notification" you mean Notification
, then you can use AlarmManager
for that. Set an alarm to go off at 11:30, and have your BroadcastReceiver
that processes the alarm's PendingIntent
raise the Notification
. However, Notification
doesn't send emails, SMSes, etc.
Upvotes: 4