Will Verduzco · Aug 12, 2013 at 04:00 pm

Implement Lock Screen-Style Music Controls in Your App

Not too long ago, we covered a couple of interesting and useful apps created by XDA Senior Member Dr.Alexander_Breen. They were, of course, Floating Music Widget and Android Control Center. If you haven’t already checked them out and are looking for floating music controls and an iOS-inspired settings panel, now would be a good time.

You may be wondering what these apps could possibly have in common, aside from their creator. Well, they both feature prominent music control integration. And it’s not just these apps; music controls can prove useful in a range of different application categories. And since Dr.Alexander_Breen already went through the process of figuring out how to do it himself, he has shared the knowledge so you can implement similar controls in your own apps.

One thing to keep in mind is that due to the guide’s technical level, it is not meant for the beginning Android developer. Rather, it’s meant more the intermediate developer who already understands Android development and is just looking for an efficient and streamlined way of using android.media.RemoteControlClient.

The guide starts off with a brief primer and continues with sample code and explanations on how to implement this in your own app. In a future update, Dr.Alexander_Breen will also cover how to use the Android 4.3+ playback position functionality.

Head over to the guide 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.
Mathew Brack · Mar 26, 2015 at 10:09 pm · 3 comments

LG G4 Note Leaks

T-Mobile employee and XDA user s3rv1cet3ch has leaked images that he claims are of the upcoming LG G4 Note, LG's answer to the Samsung Note series and 'big brother' to the G4.  LG CEO Cho has been quoted as saying at a press meeting that the company would unveil the next flagship smartphone, G4, in the second quarter, and another high-end product in the second half. With the second quarter now just days away we could finally have a few hints of...

XDA NEWS
Mathew Brack · Mar 26, 2015 at 06:07 pm · 3 comments

HTC M9 Roundup: Availability and Prices

The HTC One M9, Available in both 'Gold on Silver' and 'Metal Gray' colors will be available for sale in stores across the US on April 10th, however most carriers are starting preorders tomorrow on March 27th. No matter which network you order yours from you will be covered by HTC's new Uh-Oh service. Throughout the day today we have seen just as many announcements from carriers regarding pre-order information and prices for Samsung's new flagships the Galaxy S6 and S6 Edge. If...

XDA NEWS
Mario Tomás Serrafero · Mar 26, 2015 at 05:15 pm · 1 comment

OnePlus Late March AMAA Roundup

OnePlus is one of those companies that appear one day and next thing you know, they are all over the internet. Their original OnePlus One phone was a major success in the mobile space due to its low price yet remarkable specifications - the ultimate goal of the company and their “Never Settle” slogan. We love talking about “the little OEM that could”, not necessarily because they are good or bad, but because their business and marketing strategies are very...

XDA NEWS
Share This