[REQ] Pause TF3D music player when headphones unplugged - Touch Diamond, MDA Compact IV Themes and Apps

It occurs to me that it might be useful to have a program that will automatically pause the TF3D music player whenever the headphones are unplugged from the phone. This would help prevent unfortunate occurrences like your headphones being unplugged accidentally and the whole subway car hearing your music blaring!
Would this be difficult to implement as an application that runs in the background?

i vote for that too

hmmm .. I don't use the cable headphones... I have bluetooth...
and when I turn my headset off.. the music stops by itself...
I haven't tested the cable headphones since a bought the phone... but shouldn't it be the same??

Unfortunately, nope. When you unplug the headphones that come with the phone, it switches over to using the phone's built-in speaker instead.

titan85
I don't know if it is differend on Diamond, I Have Touch Pro.
But when i unplug headphones when device has display turned off it pauses and when I have display turned on it doesn't. I find it perfectly OK. Have you tried it that way ?

Weird! It doesn't do that for me. In fact, if I unplug the headphones, it wakes the Diamond up again and switches to the speaker. But if I press the power button to turn the screen off again, it pauses the music.

My diamond does exactly what you asked for, but i didnt install any tools. It is a built-in feature.

my diamond does that too, but only when the screen is off
are you using a old rom?

Weird... I'm using the stock Telus ROM (don't want to void my warranty), and it doesn't do it. Is there a registry setting that controls it, maybe?

Just confirmed the behavior on the GSM Touch Pro - when you pull the headphones out and the screen is on the sound goes through the speaker, but when the screen is off it pauses the music.
Surur

Sim Free TP here, and as the above TP owner's have posted, screen off, plug comes out (due to naff case not taking plug all the way) handset is as quiet as a Royal British Legion!
Drove me mad until I read this thread!

No pausing on Diamond2
Hi
My Diamond2 with the newest official HTC rom doesn't pause. I would really like it to do so bot when screen is off and on. Tried this plugin (http://www.fuzemobility.com/remove-headset-to-pause-tf3d-music/) for Diamond but it doesn't seem to work :-( Anybody found a way to solve this?
Cheers!

Related

[APP] HeadsetMonitor - Automatically pause TF3D music when headset is unplugged

I've always had one small problem with TouchFLO 3D's music player: if you're listening to music with the earphones plugged in, and you accidentally pull the plug out, it starts blaring your music over the speaker! This can be very embarrassing if you're out in public and all of a sudden, everyone around you can hear your music.
I spent a long time searching for an answer to this problem, and I've never had any success. So finally, I decided to take matters into my own hands and create HeadsetMonitor.
HeadsetMonitor is a lightweight application that hides in the background and monitors the status of your headset. If the TF3D music player is playing when you unplug the headset (generally by accident), it will spring into action and instantly pause your music to prevent it from blaring over the speaker. Once you plug the headset back in, it will automatically resume playing your music. Additionally, if you want it to play over the speaker anyway, simply hit the play button and it will continue to function as usual.
HeadsetMonitor does not affect battery life. HeadsetMonitor only consumes a miniscule amount of CPU power for a fraction of a second when you plug or unplug the headset. It will automatically run on start-up and connect to the HTC Audio Manager program as soon as it becomes available (usually when you first go to the Music tab). It remains completely idle in the background until the headset is plugged or unplugged, using no resources except for a few KB of memory.
Installation instructions:
HeadsetMonitor only works if you are using TouchFLO 3D. It currently does not pause any other media player automatically. I developed and tested this program on the CDMA version of the HTC Touch Diamond, and can't guarantee that it will work on every phone.
It requires version 3.5 of the .NET Compact Framework, which should already be on your phone in most ROMs. Simply run the CAB file on your phone to install, and then either soft reset or browse to the application folder and launch the EXE manually. If all goes well, you can begin using it immediately.
great job- gonna use it
tried it and got an exception error. I am using the Touch Pro 2 version of TF3D
bugsykoosh said:
tried it and got an exception error. I am using the Touch Pro 2 version of TF3D
Click to expand...
Click to collapse
Do you happen to know what exception? Also, can you check the exact name of the AudioManager EXE in a task manager, please? I haven't tried the TP2 version of TF3D, so it might have a slightly different name or something.
Thanks!
My apologies. I uninstalled it and then reinstalled it to give it a second shot and it worked as advertised. I apologize for not testing it again. it must have been something else conflicting. Hope this makes up for my error http://www.fuzemobility.com/remove-headset-to-pause-tf3d-music/
bugsykoosh said:
My apologies. I uninstalled it and then reinstalled it to give it a second shot and it worked as advertised. I apologize for not testing it again. it must have been something else conflicting. Hope this makes up for my error http://www.fuzemobility.com/remove-headset-to-pause-tf3d-music/
Click to expand...
Click to collapse
Thanks for that! I'm glad it's working for you now, and I'm really pleased to see it posted on FuzeMobility!
Cythrelo said:
Thanks for that! I'm glad it's working for you now, and I'm really pleased to see it posted on FuzeMobility!
Click to expand...
Click to collapse
you made a good app - you deserve recognition Thanks again and feel free to PM me if you release anything else fancy
great idea!!!
i am going to test it now. thanks for the efforts
Sweeeet I will not have to look around me suspiciously anymore while listening to Britney in the subway
nice app, but only one problem, when i insert the headphone back, it doesn't resume the song and it goes to the first song of the playlist..
Monsterchef said:
great solution for that problem - i have another one: I have a bluetooth stereo headset, and often when tf switches from having a call back to music, it shouts out at speaker instead of bt headset - that's annoying for me AND the people around me...
does your prog solve this TOO?
i.e. does your tool check if a headset is used (no matter which KIND of headset) OR does it affect the special headset like tools "FM radio" or "Equalizer" do?
thx for reply in advance (in case it does not affect your tool DIRECTLY...)
Click to expand...
Click to collapse
I'm not sure if it would work, as I haven't got a bluetooth headset to test it with. However, when you connect your headset to the phone, do you get the headphone icon on the top bar? If you do, and that disappears after ending the call and switching back to the music, then HeadsetMonitor should pause the music for you.
altcineva2009 said:
nice app, but only one problem, when i insert the headphone back, it doesn't resume the song and it goes to the first song of the playlist..
Click to expand...
Click to collapse
That's definitely strange. Is anyone else encountering this bug?
Could you give me some details, please? CDMA, GSM version? Touch Diamond, Touch Pro? What ROM you're using? What version of TF3D? Anything else you think might be useful. Thanks!
nice app .
maybe you can add a feature that it automatically disables the headset when there is call (incoming/outoing)?
this would be for people using normal 3,5inch headphones (no headsets) so they do not have to remove the headphones when they want to speak on the phone!
pitchbend said:
nice app .
maybe you can add a feature that it automatically disables the headset when there is call (incoming/outoing)?
this would be for people using normal 3,5inch headphones (no headsets) so they do not have to remove the headphones when they want to speak on the phone!
Click to expand...
Click to collapse
Sorry, I took a quick look and it doesn't look like it's possible to disable the headset without physically unplugging it.
Let's start:
GSM version
Latest official rom 2.03
Touch Diamond
Original TF3D
Thanks for this. It's working a treat for me on a HD2. Saves me having to install s2u2 and s2p just to get the music to pause when i unplug the headphones!
One suggestion if you're still working on this would be to get the Audio player to autoplay when the headphones are reinserted.
Brilliant app! Working perfectly on HTC Diamond (Win 6.5 / HTC Sense 2.5) using a Sony DR-BT20NX bluetooth headset.
Thank you!
-Richard
This app is great! Thank you so much for creating it. This works perfectly on my CDMA Touch Pro 2! I have been looking for this fix for quite some time!

Bluetooth...

It was no problem with my Pro2 to listen to Music via bluetooth !
Now with the LEO - which is the best device which I ever had - I can use the phone over bluetooh but hear no music.
I also marked under advanced the music button
Pls help me
I have a similar problem, though not quite the same. I am actually able to connect up my BT headset, but the advance controls no longer function; only voume control. No Pause, Forwards or Backwards! (in both Coreplayer & S2P).
They clearly recognise that a signal was recieved (if i try forwarding), however the player just minimises one receipt of the signal, and upon maximising just ignores the functions.
Anyone experiencing similar issues?
I just talked to HTC - they said probably it is the wrong device (head set)...
I have the same problem.
I have a problem with using my MOTOROKR T505 Bluetooth® In-Car Speakerphone, which in my old phone (nokia e71), worked like a dream. With Leo, connects ok, butafter playing for some time, will hickup for like 7-10 seconds, then resume, play for another minute, and repeat. This seems to coincide with the phone going to sleep? ie: after the screen turns black. I am running s2u2, and when the music stops, if i press any button to wake it up, it starts playing again. As long as i keep the screen active, it plays.
Is there a setting that is making Leo to "Standy", either in s2u2 or in OS?

HTC Music player randomly skipping music

Hi all, I'm new to the forums so don't be too harsh on me, and sorry if this has been asked before but I can't find it anywhere (skipped through like 15 pages)
I have a, in my eyes, huge problem with the HTC Music player, sometimes it just skips songs or fast forward through them, then it takes a while before it stops and I can listen to music again, and sometimes it won't stop and I have to turn my phone off and on for it to work again. This is really annoying and happens 4 or 5 times in my 1 hour trip to school.
As I said, it does occur randomly, but on some songs more often then others. I put them on my phone with Windows Media Player. I also keep it upside down in my pocket if that's a problem. I also tried other ear-phones but that didn't solve anything.
Thanks in advance and I hope there's a solution to this ^^ also, are there more people with this problem, I have searched the internet quite a bit but found no information whatsoever.
yes, I have same problem and its only when using not htc's headphones, so it must be a problem with headphones connector on HD2.
Friend of mine is having same problem.
Yeah, it works fine with HTC's crappy headphones. Doesnt work with my Shure's.It does work with my portable speakers though.
HTC Music skipping and stopping
My problem is that when i turn on HTC Music it works fine with headphones other than the HTC ones until i lock the screen. Then it cuts the music out once or twice then cuts off completely, all within 60 seconds of locking the screen.
Thinking this was a problem with the headphone's connection jack, as they are from an old Sony minidisc player, i went back to the crappy HTC headphones and the same thing happened!
Any ideas for a cure would be greatly appreciated as i get around by cycling and it defeats the purpose it i have to stop every 2 mins just to restart the player or answer the phone.
HTC HD2
OS Version5.2.21869 (21869.5.0.82)
Manila Version 2.5.19211619.0
ROM Version 1.66.405.2 (76641) WWE
ROM Date 01/11/10
Radio Version 2.06.51.07
Protocol Version 15.30.50.07U
whenever there is incoming call while i am listening to music..... it will happen right after screen is off.
i called HTC support about this, but they said no such case reported and tested...
Now my solution is to press the Play button on Headphone or do not lock the screen.
Any permanent solution ?!
thanks alot !!
ive been having a problem when i hook it up to my dd monitor in my car, it goes wacky and changes songs and fast forwards, rewinds. its only when i hook up to the 3.5 jack from my deck, headphones is no issue...im stumped
Has anyone come up with a solution?I have the same problem when I hook up my Sensation to car radio through 3.5mm.Starts fast forwarding and skipping through songs.
the stock earphones come with 4 metal pieces in the jack, while the others have 3.. my theory is that non-stock headphones sometime mimic a press of one of the buttons. as this also happens to me sometimes while removing the stock headphones from the device.
if you're good with welding stuff, buy a 4piece jack and connect the new headphones to it
Found a fix was hoping for sometype of patch but this works to.Do a search for, "headset blocker" in the market.

PROBLEM! Phone becomes unresponsive/shuts off while music plays

I recently started using my HTC tilt 2 again, but there serious problems I believe could be just software errors. I am running kalhimeo Lite 3.2 rom and I installed s2p 0.83b and while music plays either from the bluetooth headset (Sony ericsson MW600) or from the stock htc headphone adapter box the music stops after a while and the phone will not respond (screen is blank, status led remains blinking, sliding the keyboard or power key does nothing connecting to a power source or PC does nothing) and I have to either A) reset button or B) take the battery out. As of Posting I uninstalled S2U2 and am going to try playing music with the stock lock and see if that works.
Also How do I set S2P to read avrcp controls properly?
any OS rom or music/screen lock program suggestions are appreciated (also might be in wrong forum)

Problems with nexus 6p when listening to music

Hey guys
I just registered because I experienced some problems with my recently bought nexus 6p. I really like this phone but as soon as I start listening to music using headphones the bugs are invading my phone since I didn't find anything on Google I start this thread.
But let's get to my problem:
I plug in my headphones and start playing music (using blackplayer and Google music). When the screen is turned on the volume turns down itself (I can see the volume bar going down to zero like I'm pressing the button). Also sometimes the powerbutton stops working and I have to restart my phone long pressing the power button.
But also when the screen is turned out I experience some problems. One of the most annoying ones is that music stops and starts randomly (but only when headphones are plugged in!!!). The other bug is music stopping, display turns on and some female voice tells me "Bitte warten! (please wait)" and the screen is gray saying "initializing".
Has someone experienced similar problems? What could help? If you guys need any more information just tell me
I have none of these problems. Have you tried a different set of headphones?
Change your headphones or ensure that they're set up properly. I'm guessing they're wired.
I'm also running into this same issue. I have the latest updates on my phone. This happens about 25 minutes in to listening to media. I've heard that disabling "OK Google detection" fixes it. This hasn't worked for me.
Sounds like wired headphones with a faulty connection to the phones, or faulty buttons on the headphones. I have seen similar behavior with just a wired connection to an AUX Input. The connection on the wire was faulty and due to changing resistance, it looked to the phone like headphone buttons were being pressed. Could also be a fault at the headphone jack on the phone, but it was not in my case. Definitely try other headphones to help narrow down the issue.
Info
Mureinsacculus said:
Hey guys
I just registered because I experienced some problems with my recently bought nexus 6p. I really like this phone but as soon as I start listening to music using headphones the bugs are invading my phone since I didn't find anything on Google I start this thread.
But let's get to my problem:
I plug in my headphones and start playing music (using blackplayer and Google music). When the screen is turned on the volume turns down itself (I can see the volume bar going down to zero like I'm pressing the button). Also sometimes the powerbutton stops working and I have to restart my phone long pressing the power button.
But also when the screen is turned out I experience some problems. One of the most annoying ones is that music stops and starts randomly (but only when headphones are plugged in!!!). The other bug is music stopping, display turns on and some female voice tells me "Bitte warten! (please wait)" and the screen is gray saying "initializing".
Has someone experienced similar problems? What could help? If you guys need any more information just tell me
Click to expand...
Click to collapse
wht is ur headphones?
+ isn't thr any automation app like tasker that control handle events on ur phone?
what have u done so far?
+ Restart? Cleaning the headphone port? OR ...?
:good:

Categories

Resources