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!
Jimmy McGee · Mar 2, 2015 at 06:00 am · 1 comment

HTC One M9 & Samsung Galaxy S6 Unveiled – XDA TV

The HTC One M9 and the Samsung Galaxy S6 were unveiled at Mobile World Congress! That and much more news is covered by Jordan when he reviews all the important stories from this weekend. Included in this weekend's news is the announcement of the Huawei Watch Android Wear device and be sure to check out the article talking about IKEA selling Qi enabled furniture. That's not all that's covered in today's video! Be sure to check out the other videos...

XDA NEWS
Aamir Siddiqui · Mar 2, 2015 at 03:10 am · 2 comments

Sony Xperia Z4 Tablet, The Thinnest 10″ Tablet, Now Official

While the likes of Samsung and HTC were busy announcing their next big things in the mobile market at their Mobile World Congress events, Sony was turning up the heat in the tablet market with the launch of its latest offering, the Xperia Z4 Tablet. Coming with a 10.1" IPS display offering 2560 x 1600 pixel resolution, the Xperia Z4 tablet is the successor to the successful Z2 tablet released in 2014. As a true successor, the Z4 Tablet offers everything...

XDA NEWS
Emil Kako · Mar 1, 2015 at 04:12 pm · no comments

Samsung Galaxy S6 VS HTC One M9: Which Do You Prefer?

After months of anticipation, both the Samsung Galaxy S6 and HTC One M9 have finally been unveiled. Now that we have all seen both of the devices in all their glory, many of us have some decisions to make. Which of the two beasts do you prefer: the Galaxy S6 or the One M9? Let us know which device you plan on buying and why!

DISCUSS
Share This