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!
Another week, another recap. The Sunday tradition marches on this week with a fresh no-nonsense look at big-picture news. Here in the digital XDA writers’ room, we spend our days pouring over an average of 2,500 news items and forum threads every 24 hours. Only the most timely and interesting bits survive the editing process, but the portal’s front page still sees weekly counts in excess of 100 posts. This is a glut of content to absorb, especially if following...
Bezels have been getting smaller and smaller as the years go by, and while devices from 2011 needed to trim some fat, there is no absolute rule that says that smaller bezels, after a happy medium, are beneficial to a phone. Part of this is that, with today’s current smartphone paradigms, an absolute lack of bezels does not produce an inherently better user experience. With each technological advancement come limitations and compromises of some sort, and bezels are not...
The latest in LG’s signature line of “G phones” has been released. The LG G4 is the successor to the popular LG G3. Coming with many different design styles, from two types of leather to ceramic white, the LG G4 has the looks, but does it have the power? In this episode of XDA TV, Producer TK gets hands on with a new LG G4. TK opens the box for a standard unboxing. Then, TK shows off the phone and...