Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the music player buttons on Android wear like google play music

I have created a notification with normal and expanded view having player controls identical to google play. However, i dont see the notification with play controls on the android wear.

I have tried to build notification with actionButtons rather than remoteViews. Now i am able to see every action as a separate card on wear. But i want the look like the google play on wear. I saw similar screen for VLC player too.

Please help.

enter image description here

like image 475
Ramesh Avatar asked Nov 25 '14 09:11

Ramesh


People also ask

Does Google have a music player?

For your watch, phone, tablet, or carOn your Android phone or tablet, say "Hey Google, open Assistant settings." Or, go to Assistant settings. Tap Music. Choose a music service.


1 Answers

Android Wear automatically builds media notifications with play controls when you register a RemoteControlClient or its Android 5.0 replacement, MediaSession, using the transport flags you provide to determine which buttons to show and how responses get sent to your app.

like image 144
ianhanniballake Avatar answered Oct 18 '22 20:10

ianhanniballake