Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a Nexus S running Gingerbread and I use the stock app to listen to music. The bundled earphone has a button that plays/pauses music, but I find this redundant since I can either reduce the volume or pull out the earphone jack when I want to interact with the rest of the world.

It would be really awesome if I could change the function to "Next Track" instead since it'd be easy to skip a track while I'm on my bike. Is there an easy way to achieve this?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted
+50

I'm guessing you've tried double clicking it? On my phone (Dell Streak), a double-click skips to the next track. Might just be DoubleTwist that, though, I'm not sure.

share|improve this answer
    
Oh wow. That works perfectly on the Winamp App! THANK YOU! (Not sure how to make the stock app respond to the button instead of Winamp, though) –  dbrane Mar 25 '11 at 21:09
    
It works for the stock app too. But the double-click time threshold is really low. It's really hard to double-click fast enough. Is there a way to change the time? –  dbrane Mar 28 '11 at 0:16
add comment

There's an app available in the market called ButtonRemapper, and the developer has a thread open on XDA that you can find here. There is a version specifically designed for the Samasung Galaxy S (which I think is what the Nexus S was based off? See my edit below.) so you might want to try that version first, but I think your best bet is going to be trying this app and seeing if it lets you do what you want.

Oh, this app requires root access. All the standard disclaimers apply.

Edit: Based on this link they seem close but have important internal differences. I'm not sure how that will affect whether or not that app made for the Galaxy S will work for you.

share|improve this answer
    
I believe this app allows you to edit what the phones buttons do, not the headphones buttons. –  Matt Mar 24 '11 at 2:46
    
@Matt - Some of the information on the XDA thread led me to believe it might have expanded support for other buttons. It's a free app so there isn't much harm in giving it a shot if he's already rooted, and I think finding a non-root solution for this is pretty unlikely anyway. –  newuser Mar 24 '11 at 3:05
    
True, no harm in trying. I'm not sure it would require root to do what he wants to do though. I believe that any given app can decide how it handles the multimedia buttons on headphones. The reason you need root access for buttonremapper is because it's changing the intended functionality to the phones hardware itself which is locked out for security reasons. –  Matt Mar 24 '11 at 4:06
    
@Matt - I figured the security issue would extend beyond the physical phone itself. Imagine if you built a Bluetooth device with some kind of malicious app embedded on it and you could remap some physical button on the Bluetooth device to reboot the phone into recovery mode or something. –  newuser Mar 24 '11 at 13:05
    
That's a good point. hopefully this works. I'd really like this functionality myself. –  Matt Mar 24 '11 at 13:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.