I need to create an application that will change the bluetooth headset volume by pressing the volume up/down keys [on the phone]. While I yet don’t know how to catch the volume up/down keys, I am currently more interested in how one can change the bluetooth headset volume programmatically?
Note:
I want to have the bluetooth volume dialog one gets when using the phones volume up/down keys while making a call using bluetooth and the phones normal dialer / GSM call.
Find the solution spread over this three threads:
Android Bluetooth Earpiece Volume
Trigger system volume bar
Android – Volume Buttons used in my application
Don’t forget this permission:
Thanks to Doomsknight for the initial hint 🙂