Will Verduzco · Sep 5, 2013 at 03:00 pm

Remote Metadata Provider Library for Easily Music Controls

Recently, we featured a guide by XDA Senior Member Dr.Alexander_Breen aimed at bringing lockscreen-like music controls to your app. However, the method was overly complicated for many users. So in order to make the process easier, Dr.Alexander_Breen has created the open source library Remote Metadata Provider. And since it’s licensed with Apache 2.0, you can use in your projects (commercial or not).

Remote Metadata Provider allows you to create your own remote media controls, which behave similarly to the lock screen music controls described in the developer’s previous guide. However, usage of the Remote Metadata Provider library is much simpler than the last. You first add the library to your development project as an external JAR. Then, you follow a clear guide with example code listed within the thread’s main post.

Currently, there is a bug on HTC Sense devices, where you lose lock screen controls after calling RemoteMetadataProvider#acquireRemoteControls(). There is also (temporarily) a bug when using Android 4.3. However, this will be fixed in a future version.

Head over to the library and tutorial thread to get started.


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

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mathew Brack · Apr 1, 2015 at 05:51 pm · 4 comments

April Fools Round Up: The Year of Nostalgia

April Fools Day is once again upon us and as usual, tech companies everywhere have not failed to keep us entertained. With a trove of fantastic faux product launches and even some real product launches that were taken as April Fools jokes, people have been busy releasing their hilarious ideas. With many of these jokes being nostalgic and some even being functional it's easy to appreciate the spirit behind them. Samsung Galaxy Blade Edge In a reference to the Galaxy...

XDA NEWS
Tomek Kondrat · Apr 1, 2015 at 05:43 pm · 2 comments

Android 5.1 OTA for Nexus Round-Up

The beginning of April is dominated by April Fools. There are jokes and pranks everywhere, which are meant to fool people. This news is no joke though, as Google has pushed the shiny red button to send out over-the-air updates to supported devices. Well, sort of, as only a few of available Nexus devices got updates to Android 5.1. Here's a list of OTAs that can be downloaded and flashed by stock recoveries. You can find guides on how to revert...

XDA NEWS
Chris Gilliam · Apr 1, 2015 at 04:29 pm · 4 comments

Google’s Prank Roundup for April Fools 2015 [Updated]

Once again, we have arrived on the most magical of holidays - the annual unveiling of HalfLife 3, and day on which co-workers believe it is appropriate to duct tape air horns behind doors. I speak, of course, about April Fools Day. As has become their custom, Google launched lighthearted "pranks" for each of their various services (with other tech sites and vendors following suit), and we have done our best to round up the humorous products and tweaks surfacing thus far....

XDA NEWS
Share This