add support for media button for android 3.0 and later #43

Merged
merged 1 commit into from Dec 16, 2014

Conversation

Projects
None yet
3 participants
Contributor

zdila commented Dec 15, 2014

add support for media button for android 3.0 and later

@nguillaumin nguillaumin added a commit that referenced this pull request Dec 16, 2014

@nguillaumin nguillaumin Merge pull request #43 from zdila/master
add support for media button for android 3.0 and later
497313b

@nguillaumin nguillaumin merged commit 497313b into nguillaumin:master Dec 16, 2014

Owner

nguillaumin commented Dec 16, 2014

Thanks!

e2jk commented Jan 20, 2015

This feature introduced a bug for me, where I can't use the hardware button to stop my podcast player, instead osmtracker starts up, records track #0 (which can't ever be found back), and the podcast player continues playing.

Please have a look and discuss further at https://code.google.com/p/osmtracker-android/issues/detail?id=256

Contributor

zdila commented Jan 20, 2015

I'll try to fix it.

Owner

nguillaumin commented Jan 20, 2015

I put a few comments on https://code.google.com/p/osmtracker-android/issues/detail?id=256 with possible leads...

e2jk commented Feb 4, 2015

zdila, please look at my latest post, using the test .apk that Nicolas created. Your input is needed.

Contributor

zdila commented Feb 4, 2015

It is on my long task list :-). Till then you can use older version.

Contributor

zdila commented Feb 28, 2015

I tried three different phones (Runbo X6, Sony ST21i (Xperia Tipo) and Lenovo Yoga Tablet 2) with two headphone sets (one with single button, second with three buttons).

Good news is that it works without setting priority on intent-filter.

Strange thing is that even with priority set to 1000 I was unable to reproduce reported issue with any phone or headset I listed.

I think you can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment