create Wearable Notification - Android Android OS

Android examples for Android OS:Notification Create

Description

create Wearable Notification

Demo Code


import android.app.Activity;
import android.app.PendingIntent;
import android.content.Intent;
import android.preview.support.v4.app.NotificationManagerCompat;
import android.preview.support.wearable.notifications.WearableNotifications;
import android.support.v4.app.NotificationCompat;

public class Main{
    public static void createWearableNotification(
            NotificationCompat.Builder nb) {
        WearableNotifications.Builder wnb = new WearableNotifications.Builder(
                nb);//from   w w w . j  a  v  a 2  s .c  o  m
    }
}

Related Tutorials