Back to Top

Handset Button Functionality

13 posts / 0 new
Last post
dandrews
Offline
Last seen: 10 years 4 months ago
Joined: 04/09/2011 - 23:47
Handset Button Functionality

Hi,

There is some functionality I would like added for the handset remote:

1.when listening to a podcast and a call comes in the handset button should change from controlling the podcast to controlling the call. I.e. one click will answer the call and 1 click will hang up. Just like when the call is answered on the phone the podcast should pause and restart at the end.

2.I would like the ability to skip a podcast by either double clicking or long clicking the remote. Just like when a podcast is skipped in the UI it should be marked as done if the user has that setting.

Thanks,

Dave.

eric
Offline
Last seen: 2 years 10 months ago
Joined: 11/06/2008 - 22:02
Media button

#1 - DC will ignore the buttons when the phone is either ringing or off the hook. This will be in the log. If this isn't what's happening, please send a log right after it happens with a note about what's going on.

#2 - This works now depending on the headset by long pressing on the next button. Some headsets have timing that doesn't work with android but most that I have tested work fine.

Thanks for posting.

dandrews
Offline
Last seen: 10 years 4 months ago
Joined: 04/09/2011 - 23:47
Media Button

Thanks for your quick reply Eric.

The behaviour you describe is not what I get on my Galaxy S.

When I restart my phone the media button starts and pauses the media player and answers and ends phone calls when they come in. When I start DC it takes over the media button and can start/stop podcasts as specified.

However, if I exit DC using the "Exit Application" (have to do it this way because pressing the back button until I reach the home screen does not fully close the application like I thought all applications are meant to) then the media button no longer performs any functions. The phone keys light up when the button is pressed indicating that the phone recognises the button press but nothing happens.

The problem is not corrected until I restart the phone.

Can you tell me what is going on?

eric
Offline
Last seen: 2 years 10 months ago
Joined: 11/06/2008 - 22:02
Buttons

What I expect to happen is that the phone app will register for the buttons when a phone call comes in. If that's not happening on the galaxy S then you could argue that it's a bug in the ROM...I've tested this on a few other devices and they all register for the buttons.

You could probably confirm this basic idea by starting up the android music app and then pressing the button. Chances are, music will then start responding to the buttons. That's what the phone app should also be doing.

The way to get DC to stop responding to the buttons completely is to disable the bind to headset preference.

Here's a faq article that going into some of the details of this - http://www.doggcatcher.com/node/858

I have to admit the button handling has never been quite right in android. It's gotten closer to right with 2.2 but there's still some variation across devices.

dandrews
Offline
Last seen: 10 years 4 months ago
Joined: 04/09/2011 - 23:47
Media Button

#2 - Are you referring to headsets that have more than one button? The Galaxy S has only 1 on its wired headset and it would be great if you could skip tracks with this device also.

eric
Offline
Last seen: 2 years 10 months ago
Joined: 11/06/2008 - 22:02
button configurability

I was, my nexus one headset (uses a standard 3.5mm jack) has ff/rew/playpause, holding down the next button skips tracks. If the S has a 3.5mm jack, you might want to pick up a nexus one headset.

I have an open issue to make it so you can configure whatever buttons you have to do whichever actions you want (play/next/etc).

kokomojuggler
Offline
Last seen: 7 years 5 days ago
Joined: 09/17/2012 - 17:14
Double Click

I have a headset with only one button. I was used to double clicking that one button advancing to the next podcast. This is how my iPod touch worked, and it would be nice if Dogcatcher worked the same way.

eric
Offline
Last seen: 2 years 10 months ago
Joined: 11/06/2008 - 22:02
I added this to the todo list

I added this to the todo list - http://mantis.snoggdoggler.com/view.php?id=1486

Thanks for posting.

rupa
Offline
Last seen: 9 years 1 month ago
Joined: 02/18/2012 - 23:52
Use one of the many headset

Use one of the many headset control apps. They will allow you to configure what you want.

I use "headset button controller" which costs money. There are free apps from headset makes that work with any headset. Try ones made by klipsch or ajays.

Admiralmal
Offline
Last seen: 9 years 1 month ago
Joined: 11/21/2012 - 19:21
question

Is there any way to make the headset jump forward xseconds on a double tap?

rupa
Offline
Last seen: 9 years 1 month ago
Joined: 02/18/2012 - 23:52
In DoggCatcher, set "Headset

In DoggCatcher, set "Headset button - fast forward" to Fast Forward (should be default).

In Headset Button Controller, under Center button actions, change double click to "Fast Forward".

All done.

Admiralmal
Offline
Last seen: 9 years 1 month ago
Joined: 11/21/2012 - 19:21
Cool. But then does it still

Cool. But then does it still pause/play on a single click?

rupa
Offline
Last seen: 9 years 1 month ago
Joined: 02/18/2012 - 23:52
yes, the double click is

yes, the double click is timing based. It all works. Give it a try and experiment.... Just remember, unless you have a special 3 button headset *for your phone* (eg: samsung is probably different from htc) you can only setup and use the center button.