summaryrefslogtreecommitdiffstats
path: root/docs/html/training/notify-user/index.jd
blob: 51f058fa4172120c05ed02958ac0c00c31bb273b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
page.title=Notifying the User
page.tags="notifications"

trainingnavtop=true
startpage=true


@jd:body
<div id="tb-wrapper">
<div id="tb">

<!-- Required platform, tools, add-ons, devices, knowledge, etc. -->
<h2>Dependencies and prerequisites</h2>

<ul>
  <li>Android 1.6 (API Level 4) or higher</li>
</ul>
<h2>You should also read</h2>
<ul>
    <li>
        <a href="{@docRoot}guide/topics/ui/notifiers/notifications.html">Notifications</a> API Guide
    </li>
    <li>
        <a href="{@docRoot}guide/components/intents-filters.html">
        Intents and Intent Filters
        </a>
    </li>
    <li>
        <a href="{@docRoot}design/patterns/notifications.html">Notifications</a> Design Guide
    </li>
</ul>

<h2>Try it out</h2>

<div class="download-box">
  <a href="{@docRoot}shareables/training/NotifyUser.zip"
class="button">Download the sample</a>
 <p class="filename">NotifyUser.zip</p>
</div>

</div>
</div>

<p>
   A notification is a user interface element that you display outside your app's normal UI to indicate 
   that an event has occurred. Users can choose to view the notification while using other apps and respond 
   to it when it's convenient for them. 

</p>

<p>
    The <a href="{@docRoot}design/patterns/notifications.html">Notifications design guide</a> shows
    you how to design effective notifications and when to use them. This class shows you how to
    implement the most common notification designs.
</p>
<h2>Lessons</h2>

<dl>
    <dt>
        <strong><a href="build-notification.html">Building a Notification</a></strong>
    </dt>
    <dd>
        Learn how to create a notification
        {@link android.support.v4.app.NotificationCompat.Builder Builder}, set the
        required features, and issue the notification.
    </dd>
    <dt>
        <strong><a href="navigation.html">Preserving Navigation when Starting an Activity</a></strong>
    </dt>
    <dd>
        Learn how to enforce the proper
        navigation for an {@link android.app.Activity} started from a notification.
    </dd>
    <dt>
        <strong>
        <a href="managing.html">Updating Notifications</a>
        </strong>
    </dt>
    <dd>
        Learn how to update and remove notifications.
    </dd>
    <dt>
        <strong>
        <a href="expanded.html">Using Big View Styles</a>
        </strong>
    </dt>
    <dd>
        Learn how to create a big view within an expanded notification, while still maintaining 
        backward compatibility.
    </dd>
   
    <dt>
        <strong>
        <a href="display-progress.html">Displaying Progress in a Notification</a>
        </strong>
    </dt>
    <dd>
        Learn how to display the progress of an operation in a notification, both for
        operations where you can estimate how much has been completed (determinate progress) and
        operations where you don't know how much has been completed (indefinite progress).
    </dd>
</dl>