1page.title=Adding Wearable Features to Notifications 2page.tags=notifications, wear 3page.image=wear/images/01_notifications.png 4helpoutsWidget=true 5 6@jd:body 7 8<div id="tb-wrapper"> 9 <div id="tb"> 10 11 <h2>Dependencies and prerequisites</h2> 12 <ul> 13 <li>Android 4.3 (API Level 18) or higher on the handset device</li> 14 <li>An Android Wear device or Wear AVD</li> 15 <li><a href="{@docRoot}tools/support-library/features.html#v4">The Android v4 support library 16 (or v13, which includes v4)</li> 17 </ul> 18 <h2>You should also read</h2> 19 <ul> 20 <li><a href="{@docRoot}design/wear/index.html">Android Wear Design Principles</a></li> 21 </ul> 22 </div> 23</div> 24 25<p>When an Android handheld (phone or tablet) and Android wearable are connected, the handheld 26automatically shares notifications with the wearable. On the wearable, each 27notification appears as a new card in the <a href="{@docRoot}design/wear/index.html" 28>context stream</a>.</p> 29 30<p>However, to give users the best experience, you should add wearable-specific functionality to the 31notifications you already create. The following lessons show you how to 32create notifications that are catered for handhelds and wearables at the same time. 33</p> 34 35<img src="{@docRoot}wear/images/notification_phone@2x.png" width="700" height="265" /> 36 37<p class="caption"><b>Figure 1.</b> The same notification displayed on a handheld and wearable.</p> 38 39<h2>Lessons</h2> 40 <dl> 41 <dt><a href="{@docRoot}training/wearables/notifications/creating.html">Creating a notification</a></dt> 42 <dd>Learn how to create notifications with wearable features with the Android support library.</dd> 43 <dt><a href="{@docRoot}training/wearables/notifications/voice-input.html">Receiving Voice Input 44in a Notification</a></dt> 45 <dd>Learn how to add an action to a wearable notification that receives voice input from users and delivers 46 the transcribed message to your handset app.</dd> 47 <dt><a href="{@docRoot}training/wearables/notifications/pages.html">Adding Pages to a Notification</a></dt> 48 <dd>Learn how to add additional pages of information that are visible when the user 49swipes to the left.</dd> 50 <dt><a href="{@docRoot}training/wearables/notifications/stacks.html">Stacking Notifications</a></dt> 51 <dd>Learn how to place all similar notifications from your app in a stack, allowing users to view 52 each notification individually without adding multiple cards to the card stream.</dd> 53 </dl> 54