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.
Emil Kako · May 4, 2015 at 12:33 pm · 4 comments

Who Is Your Favorite YouTuber That Covers Mobile?

There are dozens of talented YouTubers who cover mobile, but we want to know which ones are your favorite. Let us know who your favorite tech reviewers are and what makes them stand out compared to the others.

DISCUSS
Faiz Malkani · May 4, 2015 at 12:25 pm · 1 comment

Galaxy S6 Shipping with Different Camera Models

One of the Galaxy S6's most flaunted features is its spectacular camera, its 16MP with an f/1.9 aperture performing excellently in well-lit shots as well as low-light ones, with most reviews concluding that it trounces the camera on the iPhone 6 as well. However, all may not be right in Monde de la Samsung, as earlier today, XDA Member Bananaz came across a surprising detail about the shooter on the S6, and while the revelation is not necessary groundbreaking, it...

XDA NEWS
Faiz Malkani · May 4, 2015 at 11:05 am · 6 comments

No, Android Apps on Windows Mobile Isn’t a Good Thing

As Symbian and Blackberry OS gradually gave way to Android and iOS towards the turn of the decade, the former leviathans found themselves struggling to hold their ground and when all seemed lost, they were forced to resort to extreme measures. While Nokia gave in to an acquisition by Microsoft, RIM's plans were more out-of-the-box and one of their efforts to save the platform whose existence was nigh on end was to build a runtime that allowed Blackberry devices to run apps built...

XDA NEWS
Share This