0

How can we get the volume up down click while there is incoming call on android phone and also mute and speaker button clicks when call is in progress. Is it possible?

kamal
  • 69
  • 1
  • 5

1 Answers1

1

I think that you must first implement a way to know that there is a call, you can do this listening to the call broadcast How to detect incoming calls, in an Android device? and then react to that listening to the key events as described in Android How to listen for Volume Button events?

aaroncio
  • 307
  • 1
  • 6