Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending Local Notifications in Android

I want to use local notification in android for my application. If the app is not opened for 24 hours than a local notification is send. Can any one let me know how it should be done.

like image 438
Mehroze Yaqoob Avatar asked Jul 11 '12 13:07

Mehroze Yaqoob


People also ask

What is local notification in Android?

Local notifications are scheduled by an app and delivered on the same device. They are suited for apps with time-based behaviors, such as calendar events. When you run your app on a device with Android OS 8.0 or above, Kony uses default channels that are mentioned in the localnotificationconfig.

What is difference between push notification and local notification?

The essential difference between local notifications and push notifications is simple: Local notifications are scheduled by an app locally and are delivered by the same device. Push notifications are sent by a remote server (its provider) which sends these notifications to devices on which the app is installed.


1 Answers

See: Local Notifications in Android? You should be able to schedule an Intent with alarm manager every hour.

like image 151
KrispyDonuts Avatar answered Sep 30 '22 01:09

KrispyDonuts