Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap adding items to the notification tray

I am just learning PhoneGap and I would like to push notifications to the notification tray on a timer.

I tried the notification function in the PhoneGap API but its only for messages boxes with in the application its self.

Any ideas how to send a push notifications to the "Notification tray" android system?

like image 947
Steven Smethurst Avatar asked Jan 26 '11 07:01

Steven Smethurst


2 Answers

UPDATE: I have not worked with Phonegap for a very long time, and this repo is no longer managed.


Here is a phonegap plugin that I have written for system notifications.

https://github.com/saileshmittal/phonegap-system-notification-plugin

like image 100
Sailesh Avatar answered Nov 02 '22 22:11

Sailesh


Official phonegap plugin contains the status bar notification. You can find how to set it up here:

You can look at all the supported plugins at the Cordova Plugin Registry

like image 35
bond Avatar answered Nov 02 '22 23:11

bond