Skip to content

Change android bluetooth media volume even when no bluetooth device is connected

License

Notifications You must be signed in to change notification settings

jonnykl/BluetoothVolumeChanger

Repository files navigation

BluetoothVolumeChanger

Xposed module to change bluetooth media volume even when no bluetooth device is connected.

Usage

After installation of the app and reboot you can send a Intent to set the bluetooth media volume. It expects an extra integer between 0 and 15.

The name of the action is com.gmail.klamroth.jonathan.bluetoothvolumechanger.ACTION_CHANGE_BT_VOLUME. The name of the volume extra is com.gmail.klamroth.jonathan.bluetoothvolumechanger.EXTRA_VOLUME.

To test it execute following command (you can replace 5 with a volume of your choice between 0 and 15):

am broadcast -a com.gmail.klamroth.jonathan.bluetoothvolumechanger.ACTION_CHANGE_BT_VOLUME --ei com.gmail.klamroth.jonathan.bluetoothvolumechanger.EXTRA_VOLUME 5

To get the current bluetooth media volume execute the following command:

settings get system volume_music_bt_a2dp

License

This module is licensed under the terms of the MIT license.

About

Change android bluetooth media volume even when no bluetooth device is connected

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages