Former Writer · Jan 11, 2013 at 12:30 pm

Long Press Volume to Switch Tracks Done Right on US Galaxy S III Variants

If there is a way to make an existing button to do something different, developers will figure out a way to do it. Sometimes the volume rockers can function as skip buttons for the music player. The issue isn’t getting it to work, but getting it to work right. For the US variants of the Galaxy S III, the volume rocker as a skip button mod has been done correctly.

XDA Recognized Developer loserskater has released the proper way to make the volume buttons work as skip buttons. Unfortunately (or perhaps, fortunately) for lazy people, only the long way has been released. So if users want this mod, they’ll have to learn to decompile some APK files. If one is wondering, it is different from existing mods. Here is loserskater’s explanation:

-The difference between this and the previous mod is that sending the media button presses would send an ordered broadcast and the app with the highest priority would take the broadcast and see if it needed it and then pass it along if it didn’t. Well most audio apps haven’t been updated to use this method. And if you changed it to just broadcast instead of ordered all media players would get the broadcast so you’d have a bunch of apps trying to all play music. This uses private apis that only the system can use and it’s the same method the lockscreen controls use which is controlled by the audio service instead of broadcasts. I hope that all makes sense

In case that doesn’t make sense, here’s the simplified version: This uses the same method as the lock screen music controls for the volume rockers. Because of the private APIs used in accessing the audio service rather than using a broadcast, you run in to none of the traditional pitfalls. While using an ordered broadcast should work, not all apps take advantage of this.

For the full method, check out the original thread.


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

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Emil Kako · Apr 17, 2015 at 01:22 pm · 3 comments

What Do You Do with All of Your Old Photos?

Smartphone cameras have advanced so tremendously over the past few years that they have almost completely replaced point and shoot digital cameras for the most of us. Furthermore, since our smartphones are always with us, the majority of us end up taking tons of photos throughout the lifespan of our devices. But what happens to all the old photos you take? Do you store them on an external hard-drive or keep them backed up to an online cloud service like Flickr? Let us know what your favorite way of storing old photos is and why.

DISCUSS
Faiz Malkani · Apr 17, 2015 at 01:04 pm · 1 comment

Diving into the April 2015 Material Design Update

Before the release of Android 5.0 Lollipop, the Holo Design guidelines served as the official reference for Android design, right from IceCream Sandwich to KitKat. However, updates to the guidelines were few and far between, leading to a lack of synchronization between Android design and current UI/UX trends. Google seems to have learned from their mistake the last time around, and earlier this week, a significant update was released for the Material Design guidelines, marking the second revision in less...

XDA NEWS
Mathew Brack · Apr 17, 2015 at 12:37 pm · 7 comments

New Cyanogen Partnerships Bring Privacy Concerns

New Privacy concerns have emerged regarding Cyanogen’s latest announcements, primarily the inclusion of email app Boxer and that of a multitude of Microsoft apps, including Bing services, Skype, OneDrive, OneNote, Outlook, and Microsoft Office. The concerns arise when you look at both announcements together. At face value they may appear to be the beginning of Cyanogen’s plan to “take Android away from Google,” however there is certainly something more nefarious occurring. Along side the partnership with Microsoft, Cyanogen also recently announced...

XDA NEWS
Share This