I would like to control my squash score counter app via only one head set button. It means that I want to detect single or double click and add score to first or second player according to number of clicks.
I cannot use long click, instead of double click, because long click activate Google Now.
This is what I used in my music player to handle headset control single and double click.