Is there any local notification in Android?
-
23-03-2021 - |
Question
In my application I want to use the Local Notification. I don't know is there any local notification available in Android or not.
If yes then please give me any sample example to implement it.
Thanks.
Solution
Android doesn't really have a distinction between remote (push in Apple terms) and local notifications. You don't get a box pop up or any UI at all for free with Android's C2DM.
I think you just want to look at:
- http://developer.android.com/guide/topics/ui/notifiers/notifications.html
- http://developer.android.com/guide/topics/ui/notifiers/toasts.html
For doing something at a certain time you want to look at:
OTHER TIPS
there is a sample of new Notification with PendingIntent for call Activity when the user click on.
PendingIntent of Notification don't call my Activity second time
yes, there are local notifications in android. To understand how to work with them see this answer - How schedule local notifications Android?