Page 1 of 2

[Android] App is blocking headset control

PostPosted: Wed Mar 30, 2011 2:46 pm
by yecarrillo
When installed, android app block my headset control. I can not answer calls with freehands.

Please fix this by add a setting to disable this behaviour (As in Winamp App)

PostPosted: Thu Apr 21, 2011 7:04 pm
by dookie
i have this same issue. subsonic is definitely hijacking the headset controls. I cannot end or answer phone calls using the headset button.

Is there a workaround for this?

PostPosted: Fri Apr 22, 2011 1:30 am
by GJ51
It works fine on my EVO running stock rom.

Please post your phone details so that others who have similar phones might be able to provide you with an answer.

PostPosted: Fri Apr 22, 2011 2:52 pm
by dookie
I have a Samsung Captivate, stock rom, rooted. Running Android 2.1 (I haven't bothered to update to 2.2/2.3 yet.)

Pushing the headset button at any time starts subsonic if it's not running, or mutes/unmutes if subsonic is already playing. At no point am I able to answer/end phone calls witht he headset. It does not start up any other media program when pushing the button.

Thanks!

PostPosted: Fri Apr 22, 2011 4:50 pm
by GJ51
I believe the Android app is designed for 2.2 or higher.

PostPosted: Fri Apr 22, 2011 5:37 pm
by dookie
ok. I have been using 2.1 with the android app for some time now. Main functionality is good. Perhaps I'll go ahead and upgrade to 2.2 and see if that fixes this...

PostPosted: Wed May 11, 2011 12:01 pm
by el_jefe
Hi!

The problem is definitely not in the Android version. I am having the exact same problem across 3 different devices using different versions of Android:

1. HTC Desire using 2.2, stock Sense ROM
2. Samsung Galaxy S at 2.1, stock ROM
3. HTC Desire HD, tested both on stock 2.2 Sense ROM and CyanogenMod 7.x (Gingerbread 2.3.3).

This bug is extremely annoying and makes Subsonic virtually unusable for me. Please fix it ASAP!

PostPosted: Thu May 12, 2011 1:26 pm
by bemymonkey
Just untick "Media Buttons" in the settings.

PostPosted: Thu May 12, 2011 5:35 pm
by el_jefe
bemymonkey wrote:Just untick "Media Buttons" in the settings.


That insults my intelligence a bit :-) I've tried that of course, it doesn't work. The thing is, Subsonic hijacks the headset controls immediately after it is installed, even before you open it for the first time and even when it is not running. So there's definitely something wrong in the code.

PostPosted: Thu May 12, 2011 5:54 pm
by bemymonkey
Sorry, didn't mean to insult you ;)

Then it's a bug, I suppose. On my device it doesn't seem to be present, though. When Subsonic isn't open, the active media player responds to the buttons without problems...

PostPosted: Thu May 12, 2011 6:24 pm
by GJ51
How do you shut down SS? Have you checked the Applications tab in Settings on the phone to make sure that SS is not running?

Apologies in advance if I'm insulting your intelligence. :wink:

PostPosted: Thu May 12, 2011 7:59 pm
by bemymonkey
I don't shut it down... just press the home button or the back button... :shock:

PostPosted: Thu May 12, 2011 9:16 pm
by GJ51
My bad. I was attempting to address those having the problem. I don't understand how SS can respond if it's not running. Therefore, I was attempting to verify that users who were having the problem were infact closing the program, preferably by going to the home screen in SS and tapping the x in the circle, which on my phone shuts down the app. You can also go to Settings, Applications, Running Services and veify that SS is no longer running.

but, then again, I'm not having this problem, so what do I know? :wink:

PostPosted: Thu May 12, 2011 9:47 pm
by el_jefe
OK, so I just did some extensive testing again and here's what I found.

I don't have the Galaxy S anymore, but I tested this on HTC Desire and HTC Desire HD using both stock Froyo ROMs and CyanogenMod 7.0.2 Gingerbread.

There are two main issues:

1. Right after installing Subsonic I cannot answer the phone with the headset anymore. I was able to reproduce this every time and I tested it on both phones with both ROMs installing and uninstalling the app 5-6 times on each ROM/Phone combination. It works 100% of the cases on both phones.

2. Once you open Subsonic it hijacks the headset controls and they cannot be used for other applications. This issue was a bit trickier to reproduce. It doesn't happen every time. Sometimes I had to uninstall the app before I got the controls back, but sometimes even switching to another app was enough to use the controls for that app. What's even weirder, the option to use or not use the headset in Subsonic seems to not function at all sometimes. E.g. sometimes the app uses the controls even if the option is disabled and sometimes it doesn't use them even with the option enabled. After about an hour of testing I gave up, as I was not able to pinpoint what causes the wonkiness. However there's definitely an issue there.

Any feedback would be appreciated.

PostPosted: Thu May 12, 2011 9:49 pm
by el_jefe
bemymonkey wrote:Sorry, didn't mean to insult you ;)

Then it's a bug, I suppose. On my device it doesn't seem to be present, though. When Subsonic isn't open, the active media player responds to the buttons without problems...


No problem, I was just kidding :) Could you please share with us what device you are using? Thanks!