Challenge: Notifications on Android Wear

Since you used NotificationCompat and NotificationManagerCompat, your notifications will automatically appear on an Android Wear device if the user has it paired with an Android device running your app. Users who receive the notification on a Wear device can swipe left to be presented with the option to open the app on the connected handheld device. Pressing Open on the Wear device will issue the notification’s pending intent on the handheld device.

To test this, set up an Android Wear emulator and pair it with a handheld device running your app. Details about how to do this can be found on developer.android.com.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.239.149.56