19 Commits

Author SHA1 Message Date
Josh Baker
4ba44aba6d Tiny spelling fix 2013-06-10 11:36:24 -03:00
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
devinmotion
b44a71b142 Update Android/StatusBarNotification/README.md
Using PhoneGap 2.0 or higher (aka Cordova) the res/xml/plugins.xml is no longer supported.
Therefore the plugin must be added in the res/xml/config.xml in the <plugin>-section, which seems to be used from this time on.
2012-10-10 23:08:30 +03:00
Braden Shepherdson
287abff321 Merge branch 'master' of github.com:phonegap/phonegap-plugins 2012-08-30 16:12:07 -04: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
Max Ogden
4b6e9ef145 fixed import line and verified that #761 works on an android 2.2 device :) 2012-08-28 13:07:34 -07: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
eb63a0124b update readme and add more docs to statusbarnotification android plugin 2012-08-27 13:39:05 -07: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
manijshrestha
5c4f26a972 Update Android/StatusBarNotification/statusbarnotification.js 2012-02-05 01:16:24 -06:00
macdonst
58f92d89b7 Updates to the Android status bar plugin 2011-08-04 15:24:45 -04:00
skayred
d2086c5ff7 Edited Android/StatusBarNotification/statusbarnotification.js via GitHub 2011-08-01 22:40:15 +06:00
skayred
82b980b914 License added to the Status Bar Notification Java 2011-08-01 22:39:32 +06:00
skayred
8cef9a82e3 Added license text to readme 2011-08-01 22:37:04 +06:00
Skayred
240cabfd22 Added StatusBarNotification plugin 2011-08-01 17:04:59 +06:00