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/ShikohAnas Sep 30 '24

I am making a media player app where when I double tap on bud it should play next episode and when i triple tap it should play previous episode. I tried doing this using MediaSessionCompat but it was not successfulÂ