Tomek Kondrat · Dec 29, 2013 at 10:00 am

Comprehensive Guide to Implementing RemoteController in Your App

The RemoteController class was introduced in the last version of Android, 4.4 KitKat. According to Google documentation, this class is used to control media playback, display and update media metadata and playback status, and is published by applications using the RemoteControlClient class. In plain English, this means that this class handles the behavior of media players.

It’s a new class used by Google, so it might be a bit problematic to understand how to use it. Luckily XDA Senior Member Dr.Alexander_Breen wrote a comprehensive guide, where he explains what should be done to successfully add this new function to your app. The guide is divided into five points to better understand the use of the new class. The final effect can be seen in a repository on Github, where Dr.Alexander_Breen pushed a sample of his code using this API.

You can find an answer to practically any question you may have in the original thread. This thread is oriented to experienced Android users / developers, so asking about adding this to PowerAmp is a bit pointless. Please keep that in mind, while you learn about the new RemoteController class. We wish you good luck in implementation this class into your personal projects.


_________
Want something on the XDA Portal? Send us a tip!

Tomek Kondrat

eagleeyetom is an editor on XDA-Developers, the largest community for Android users. Tomek is the only Polish moderator on XDA Developers. He graduated from the University of Warmia and Mazury in Olsztyn with a degree in journalism and public communication in 2013. He's a big fan of football (not hand egg), post rock and cooking. A total addict of mobile technology, especially Android. Currently flashes dozens of custom ROMs on his OPO. View eagleeyetom's posts and articles here.
Jack Jennings · Jul 1, 2015 at 07:15 am · 2 comments

How to Listen to Beats 1 on Android Right Now

If you felt a bit left out by Apple launching their own online radio station Beats 1 yesterday, Twitter user Benji R has an answer for you, at least temporarily. Beats 1 is Apple's proprietary competitor to established online radio stations like BBC Radio 1, featuring a number of popular DJs curating their favorite tracks, led by Zane Lowe. Bucking their usual trend, Apple have actually planned for the Apple Music app - mandatory for listening to Beats 1 - to come to Android, but it...

XDA NEWS
Jimmy McGee · Jul 1, 2015 at 06:30 am · 1 comment

NVidia SHIELD TV – XDA TV Device Review

The SHIELD TV is a not an Android smartphone device. However, that doesn't mean it is not an awesome device in its own right. Bringing the Power of the Tegra X1 processor to Android TV, the SHIELD TV is an Android based console with unlimited capabilities. Is the SHIELD TV powerful and feature packed enough to be worth considering? That is only one of the questions XDA TV Producer Jordan answers when he takes the opportunity to review the device. Check...

XDA NEWS
Mike McCrary · Jul 1, 2015 at 04:25 am · 3 comments

PSA: Having cellular connectivity or texting issues tonight?

You're not alone... Tonight, many users are experiencing a myriad of problems related to their wireless carrier, be it with LTE connectivity, text messages not being received, delivered, or coming in late, or times of cellular outage. A look at downdetector.com shows spikes of reported problems at every major US carrier, all starting around the same time this evening and persisting into the early morning hours. A potential cause for this communications disturbance could be the "leap second" that was added to...

XDA NEWS
Share This