[Q] How to start & stop the music player with headset button - Atrix 4G General

I'm used to start and stop the music player with the headset button on all my former android phones. This does not work on the Atrix. When I press the button on the Atrix a query with only two voice command apps pops up. No choice to select the music player. I could start the music player with the voice command, but I cannot stop it. So I would prefer to start and stop the music by pressing the headsetbutton. Is there way to get it working on the Atrix?

Nobody knows a solution?
Sent from my MB860 using XDA App

I believe PowerAmp from the market supports this if the stock player does not

http://www.engadget.com/2011/03/06/plug-in-launcher-for-android-automatically-makes-apps-happen-whe/

For me, I changed /system/usr/keylayout/cpcap-key.kl -> key 226 to use MEDIA_PLAY_PAUSE instead of headsethook. Unfortunately this does not allow you to pickup calls or end calls. Double press to skip to next track also doesn't work. Don't know if 226 is universal.

Headset buttons work great with Winamp on my Atrix...

ECdOc said:
Headset buttons work great with Winamp on my Atrix...
Click to expand...
Click to collapse
Do you have a single button headset? I couldn't get a double press to work.

Sorry, I am using a stereo bluetooth with play-pause/call-answer/volume/track controls but it works great.

Winamp starts ans stops with the button, but then I can't pickup a call with the button. This issue seems to be a problem.

Yaotl said:
For me, I changed /system/usr/keylayout/cpcap-key.kl -> key 226 to use MEDIA_PLAY_PAUSE instead of headsethook. Unfortunately this does not allow you to pickup calls or end calls. Double press to skip to next track also doesn't work. Don't know if 226 is universal.
Click to expand...
Click to collapse
I hope that maybe a dev could look into this issue a but further. I tried the app "Headset Button Controller" This app let's the Atrix do what I want, but it doesn't works very well if the phone is in standby.

have you tried Headset Button Control app from market?
not sure if this will help but freeware(trial) if you want to try

Fixed!!!
Yaotl said:
For me, I changed /system/usr/keylayout/cpcap-key.kl -> key 226 to use MEDIA_PLAY_PAUSE instead of headsethook. Unfortunately this does not allow you to pickup calls or end calls. Double press to skip to next track also doesn't work. Don't know if 226 is universal.
Click to expand...
Click to collapse
Thank you very much for sharing this.
I did it, and now the button works perfectly on PowerAMP.
PowerAMP has an option to skip to next track with double click and return to the previous one with a triple click.
Couldn't make it work before, because it invoked vlingo and voice commands, but now it works perfectly .

Whipon said:
Thank you very much for sharing this.
I did it, and now the button works perfectly on PowerAMP.
PowerAMP has an option to skip to next track with double click and return to the previous one with a triple click.
Couldn't make it work before, because it invoked vlingo and voice commands, but now it works perfectly .
Click to expand...
Click to collapse
But are you now still able to pick up a call?

How do I change it to use media-play-pause instead of headset hook
Sent from my MB860 using XDA Premium App

u_u
Strahlenkanone said:
But are you now still able to pick up a call?
Click to expand...
Click to collapse
No, not at all. Don't know why it worked for both features in the Captivate.
I have to use the phone to answer.

I wonder if there isn't a configuration file that includes what app is started when pressing the headset button. There must be file that says start the voicecommand apps. This should be edited to make the music player start. Then both, music and call pickup should work as on the Droid. But where is this file?
Sent from my MB860 using XDA App

Related

Voice dialer

The stock voice dialer is useless. Is there one that works pretty well?
Sent from my SPH-D700 using XDA App
What is wrong with the stock one? It seems to do everything I need it to do. It would be easier to make a suggestion if we know what you are looking for.
I think it works great.
hmm well if it was running all the time maybe, but having to click it each time, say what you want, then press it when it pops up is a bit dumb, is there a way for it to activate automatically after you say open a program, instead of just bringing a menu up on the screen for you to actually press ?

Car configuration app?

Hello, I recently purchased a universal car dock off eBay and I would like to be able to use car dock mode with Pandora and possibly other configuration by only pressing one button. Basically it would turn on car dock mode, turn on bluetooth, gps, pandora, and whatever else I would like to open by just selecting the car preset. Then reverse it all when I leave my vehicle. Does anyone know of the best app to do all of this with the Mytouch 4G's car-dock mode?
Thanks much!
Google Car Home can launch whenever a particular BT device connects.
HTC Glacier running CM7 #37
That's very cool! I just have the stock mytouch 4g rom and it works but I had to download the app off the net as the market showed nothing for me. Does anyone know if the hands free text messaging will work with this app as it does with the stock car dock app?
Thank you
Google Voice Search is very similar to the Genius Button app. Even better in some ways, like "listen to <artist>". However the Voice Dialer, started by the headset button, is dialing only.
HTC Glacier running CM7 #37
jggimi said:
Google Voice Search is very similar to the Genius Button app. Even better in some ways, like "listen to <artist>". However the Voice Dialer, started by the headset button, is dialing only.
HTC Glacier running CM7 #37
Click to expand...
Click to collapse
You can also try this Vlingo app for hands free texting, nav, music: http://www.vlingo.com/demo/videos
emailish said:
You can also try this Vlingo app for hands free texting, nav, music: http://www.vlingo.com/demo/videos
Click to expand...
Click to collapse
And you'd think that maybe the found something 2 years later ...
Sent from my HTC myTouch 4g using xda app-developers app

Volume Control with Screen Off

Does anyone know if there is a way that the volume can be changed on the SGS i9000 without the screen turning on?
I have checked the settings of both Android and Winamp but found no option.
Also, an Internet search using Google and searching the XDA did not return a result...
I also find this annoying. I use the MIUI player
Sent from my GT-I9000 using Tapatalk
GOTFrogqc said:
I also find this annoying. I use the MIUI player
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Thanks for the quick reply and information; I will definitely check that out now.
You would think that this would be a feature included with Android; although, maybe a developper would be able to create a mod with this feature. *hint hint*
Can anyone comment if such a modification would even be possible?
PlayerPro supports volume up/down with the screen off. It also supports skip forward/back with the volume keys, by holding them down. (this behaviour can be turned off and/or reversed with volume as well).
It's the only music app I've found that does this, although I wish it did pause instead.
Cheers
What firmware are you on? I'm on Darky's 9.3 (2.2) and it does this with the default music player.
Kops said:
What firmware are you on? I'm on Darky's 9.3 (2.2) and it does this with the default music player.
Click to expand...
Click to collapse
THANK YOU!!!
I am using the JVB firmware currently and, as you mentioned, the default music player actually does not turn the screen on when changing volume.
Hah! All this time and I never thought to use the default music player. Go figure...
So, seems as though I should send yet another request to Winamp development.
Wish me luck...
Alright, to finish this thread off I thought I would mention that I have been using Winamp since it was released and never looked back; so, my apologies for anyone that may have facepalmed while reading this...
Suprisingly the default music player is not that bad. Actually, I think that I may continue using it instead of Winamp until an equalizer has been implemented and the volume can be changed without causing the screen to turn on. Also, the music player has features in the notification area and Winamp does not.
Either way, thanka again to everyone that helped; it is greatly appreciated.
DeHann said:
Does anyone know if there is a way that the volume can be changed on the SGS i9000 without the screen turning on?
I have checked the settings of both Android and Winamp but found no option.
Also, an Internet search using Google and searching the XDA did not return a result...
Click to expand...
Click to collapse
Voodoo sound seems to allow me to adjust all music apps with screen off.
Sent from my GT-I9000 using XDA Premium App
Hi the problem with the screen that turns on when pressing the volume keys occurs when you have a non stock lockscreen like widgetlocker or winamp lockscreen controls above the stock lockscreen.
I think everyone reproduce this problem in sgs
Sent from my GT-I9000 using XDA App
use player pro and voodo sound (voodoo control plus)
its worked like a charm
I honestly would just use the default samsung music player. It has built in eq's, has lock screen player & has a funky 5.1 button for the hell of it. (although it's debatable if it changes the sound quality for the better or not)
sammy_user said:
Hi the problem with the screen that turns on when pressing the volume keys occurs when you have a non stock lockscreen like widgetlocker or winamp lockscreen controls above the stock lockscreen.
I think everyone reproduce this problem in sgs
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
You have helped me to find the root cause. THANK YOU IMMENSELY!!!
The issue is that; although I use the stock lockscreen, it was disabled using the Extended Controls application because I was at work and next to my phone the entire time...
Good catch and thanks again. I owe you a coffee, beer, or something; but, in the meantime, I will click your thanks button. That's just as good, right?!

Headset controls?

I got play/pause to work by editing the sec_jack.kl file on my phone, but I can't seem to get skipping back and forth to work. My headphones only have 1 button. Does anyone know what key maps I need to use? Edit: Got the Headset Controls app from the marketplace to work, but I'd prefer if I didn't need an app, and it doesn't always work.
Sent from my SPH-D700 using xda premium

[REQ] Come back the previous state after ending call

I like to use slide security mode but it has a trouble is after ending a call, it always comes back to the homescreen even if before that the phone was being locked. I usually use with headset and put the phone in my pocket, it's so inconvenient with me
I found an app in Google Play Store name Lock screen after end call, it seems to be able to solve my problem. That app locks my phone after ending call ALWAYS, even before that I'm using phone and I have to press the power button and unlock it again. It makes me mad
So, could someone tell me an app or way to make the phone come back to the previous state/action after ending a call. Thanks !
Sent from my Nexus 4 using xda premium
brian88 said:
I like to use slide security mode but it has a trouble is after ending a call, it always comes back to the homescreen even if before that the phone was being locked. I usually use with headset and put the phone in my pocket, it's so inconvenient with me
I found an app in Google Play Store name Lock screen after end call, it seems to be able to solve my problem. That app locks my phone after ending call ALWAYS, even before that I'm using phone and I have to press the power button and unlock it again. It makes me mad
So, could someone tell me an app or way to make the phone come back to the previous state/action after ending a call. Thanks !
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
hi, yes there is an app, that do exactly what you want. You can choose "back to last activity" or "back to homescreen".
The name is NoCallend.
konsolen said:
hi, yes there is an app, that do exactly what you want. You can choose "back to last activity" or "back to homescreen".
The name is NoCallend.
Click to expand...
Click to collapse
Nocallend?? Not found in Google Play Store
Are you teasing me?
Sent from my Nexus 4

Categories

Resources