Home » Android » What is RemoteControlClient in Android 4.0?

What is RemoteControlClient in Android 4.0?

Posted by: admin June 15, 2020 Leave a comment


I know the rules of StackOverflow and hence apologize beforehand for asking such a subjective question.

I tried the documentation but all it says is this :

RemoteControlClient enables exposing information meant to be consumed
by remote controls capable of displaying metadata, artwork and media
transport control buttons.

A remote control client object is associated with a media button event
receiver. This event receiver must have been previously registered
with registerMediaButtonEventReceiver(ComponentName) before the
RemoteControlClient can be registered through

I don’t know about others but for me, this much of documentation was not enough for something which has such a cool name as “RemoteControlClient”.

I searched a lot of forums for this but unfortunately, the concept is still not clear to me.

Would indeed be grateful if someone helped me understand it, how it works and most importantly, what all it is capable of.

Thanks in advance and apologies for asking a subjective question.

How to&Answers:


The new RemoteControlClient allows media players to enable playback controls from remote control clients such as the device lock screen. Media players can also expose information about the media currently playing for display on the remote control, such as track information and album art.

and a few more paragraphs on the subject.

It also points out:

For a sample implementation, see the Random Music Player, which provides compatibility logic such that it enables the remote control client on Android 4.0 devices while continuing to support devices back to Android 2.1.