Getting volume buttons press and value with BP ?

How do I get volume button presses and volume value using Blueprint for Android?


Android Volume Up and Android Volume Down events are available in Blueprint. There is also a “Set Volume Buttons Handled by System” node you can use to disable them being handled by the system automatically. There currently isn’t a way to get or set the volume from Blueprint, though.

I posted a way to do this by adding some code here:

Ah, yes. That code. Is there a good reason not to have this in 4.12 ? Kinda vital functionality, especially for Gear VR, and solutions is available, and yet somehow it’s still not on the agenda for 4.12 :confused: