- The first step in integrating cell phones with watches…is sending notifications.…For this demonstration, I'm using a live device, a Nexus 6,…that's been paired with a virtual watch device.…On the device, I'll go to my Android Wear app,…I'll go to its options menu on the home screen,…and choose Try out watch notifications.…Then, I'll send a sample notification,…and I see that it shows up on the watch.…I'll then use my mouse to manipulate the watch,…I'll drag up on the notification,…then drag to the right to dismiss it.…

So now, I'm going to show you how to send…your own notifications.…I'm using a version of my Landon Hotels app…named Simple Notification,…and I'll run it on my phone.…The app displays records for four hotels.…I'll select one of those hotels,…and that opens a detail activity.…Then, I'll touch the Notify button in the lower-right…corner, and I see a toast message, Button clicked.…Now let's take a look at the code…that's causing that to happen.…

I'm in my Detail Activity class,…and at the bottom of that class, there's a method named…

Resume Transcript Auto-Scroll

Author

Released

9/24/2015

Build apps for the Internet of Things with Android Wear! This popular mobile operating system powers a new generation of wearable devices, including smartwatches made by Samsung, Sony, Motorola, ASUS, and more. Get ahead of the curve by developing apps for this emerging market, with these tutorials from expert David Gassner. He'll show how to configure the Android SDK for Android Wear development, and connect to virtual and physical devices for testing. And because Android watches are always paired with a phone or tablet, he'll show you how to send notifications between paired devices, using display buttons and voice input to enhance the messages. Finally, David shows how to build standalone apps that run directly on watches and package them for distribution through the Google Play store.