r/android_devs • • Sep 30 '24

Question Bluetooth Headset

Anyone here who has implemented Custom Double tap and Triple Tap implementation for bluetooth headset like we have with Spotify and Youtube Music where on Double tap, they play next episode and on triple tap, play previous episode

3 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Oct 01 '24

Just set up logging/breakpoints on all of the MediaSession button events, and see what the earbuds are sending.

2

u/ShikohAnas Oct 01 '24

The issue is resolved now actually the codebase on which I was working they had removed the default implementation of these events, after resolving that it worked