1*90c8c64dSAndroid Build Coastguard Worker 2*90c8c64dSAndroid Build Coastguard Workerpage.tags="MessagingService" 3*90c8c64dSAndroid Build Coastguard Workersample.group=Android N Preview 4*90c8c64dSAndroid Build Coastguard Worker@jd:body 5*90c8c64dSAndroid Build Coastguard Worker 6*90c8c64dSAndroid Build Coastguard Worker<p> 7*90c8c64dSAndroid Build Coastguard Worker 8*90c8c64dSAndroid Build Coastguard WorkerThis sample shows a simple service that sends notifications using 9*90c8c64dSAndroid Build Coastguard WorkerNotificationCompat. It also extends the notification with Remote 10*90c8c64dSAndroid Build Coastguard WorkerInput to allow Android N devices to reply via text directly from 11*90c8c64dSAndroid Build Coastguard Workerthe notification without having to open an app. The same Remote 12*90c8c64dSAndroid Build Coastguard WorkerInput usage also allows Android Auto users to respond by voice 13*90c8c64dSAndroid Build Coastguard Workerwhen the notifications is presented in that experience. 14*90c8c64dSAndroid Build Coastguard WorkerNote: Each unread conversation from a user is sent as a distinct 15*90c8c64dSAndroid Build Coastguard Workernotification. 16*90c8c64dSAndroid Build Coastguard Worker 17*90c8c64dSAndroid Build Coastguard Worker </p> 18