开发者

Phonegap adding items to the notification tray

I am just learning PhoneGap and I would like to push notifications to the notification tray on开发者_JS百科 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?


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜