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!
Jimmy McGee · Mar 4, 2015 at 06:00 am · no comments

Pixie Dust – XDA Game Time!

There are some excellent ‘AAA’ tier games by huge development houses that offer fun, and, most of the time, in-app purchases. There is no doubt that some of these games are great. However, at XDA we like to keep an eye on the little guy. Some of the more successful Android developers have started out as the little guy. Today we celebrate another simple game developed by an XDA member. XDA Senior Member Rolf Smit offers up a 2D sandbox...

XDA NEWS
Mario Tomás Serrafero · Mar 3, 2015 at 04:29 pm · 1 comment

Five New Forums for Latest Phones, Tablet and Smartwatch

The Galaxy S6 Edge, Huawei Watch, Xperia Z4 Tablet, Moto E 2015 and Xperia M4 Aqua all have gotten new forums here at XDA. If you want the latest and greatest in hardware as of now, the Galaxy S6 Edge's top-tier processor, memory, and camera will most likely fulfill your everyday needs with blazing speed, and extra screen-space to boot. Huawei seems to have nailed the smartwatch with their new Huawei Watch, a classy-looking but also durable and powerful Android Wear...

XDA NEWS
Mario Tomás Serrafero · Mar 3, 2015 at 04:00 pm · no comments

Cross-Platform Encrypted Messaging with Signal 2.0

Privacy and security are two increasingly important factors in today's globalized world, and with the surge of internet spying by government agencies and third parties, wiretaps are an everyday thing that don't just concern James Bond anymore. Encryption made its way to the semi-mainstream messaging world with the Telegram platform, but while millions flocked to it, it is still clear that convenience beats privacy for most of smartphone users. After all, with the huge user bases boasted by Whatsapp and the...

XDA NEWS
Share This