summaryrefslogtreecommitdiffstats
path: root/samples/browseable/ActiveNotifications/_index.jd
diff options
context:
space:
mode:
Diffstat (limited to 'samples/browseable/ActiveNotifications/_index.jd')
-rw-r--r--samples/browseable/ActiveNotifications/_index.jd13
1 files changed, 13 insertions, 0 deletions
diff --git a/samples/browseable/ActiveNotifications/_index.jd b/samples/browseable/ActiveNotifications/_index.jd
new file mode 100644
index 000000000..d8ce4a9d8
--- /dev/null
+++ b/samples/browseable/ActiveNotifications/_index.jd
@@ -0,0 +1,13 @@
+
+page.tags="ActiveNotification"
+sample.group=Notification
+@jd:body
+
+<p>
+
+The NotificationManager can tell you how many notifications your application is currently showing.
+This sample demonstrates how to use this API that has been introduced with Android M.
+To get started, press the "add a notification" button.
+When a notification is being canceled, the count gets updated via a PendingIntent.
+
+ </p>