11 Commits

Author SHA1 Message Date
Manij Shrestha
ff683376e6 Updated to extend CordovaPlugin instead of deprecated Plugin. 2012-11-21 01:17:56 -06:00
Manij Shrestha
ac02e812c3 Bug fix on CLEAR, that resulted in NPE. Added feature to allow FLAG_NO_CLEAR with backwards compatiblity. 2012-11-21 00:39:14 -06:00
Braden Shepherdson
1362a06aba onclick for Android status bar notifications
Cleans up the Android status bar notifications code and handles clicks
on the notification, calling the onclick() callback defined on the
notification in Javascript.
2012-08-30 16:10:41 -04:00
Braden Shepherdson
161428abb9 Improvements to Android status bar notifications
Several things here:
- Add support for the W3C notifications spec, and rewrite the old API to
  call the new W3C one behind the scenes.
- Notifications are now automatically cleared when the user clicks.
- Clicking the notification brings the user to the same instance of the
  app as was already running (and not a new copy as by default in
  Android notifications).
- Support for multiple notifications from one app using tags, as
  specified in the W3C spec and supported by Android.
- Support for canceling a single notification by tag, as per W3C spec.

Callbacks to Javascript when the user clicks are specified but not yet
supported; I will add that assuming I can get Android to call some code
in the plugin when the notification is clicked.
2012-08-28 15:19:40 -04:00
Max Ogden
03dedd48b8 make android statusbar notification plugin work on all cordova/android versions EVAR 2012-08-26 16:49:50 -07:00
Max Ogden
afa25d916b update android statusbar to use Notification.Builder and to be compatible with cordova 2.0 2012-07-17 16:08:12 -07:00
manijshrestha
d6db2a762c Update Android/StatusBarNotification/StatusBarNotification.java 2012-02-05 01:22:40 -06:00
manijshrestha
cb58cffcdf Update Android/StatusBarNotification/StatusBarNotification.java 2012-02-05 01:18:25 -06:00
macdonst
58f92d89b7 Updates to the Android status bar plugin 2011-08-04 15:24:45 -04:00
skayred
82b980b914 License added to the Status Bar Notification Java 2011-08-01 22:39:32 +06:00
Skayred
240cabfd22 Added StatusBarNotification plugin 2011-08-01 17:04:59 +06:00