[Android-development] catching ke_volumeUp and down

maitai at virtual-winds.org maitai at virtual-winds.org
Sat Dec 27 10:43:21 CET 2014


Hello,

I need to catch key events for Qt::Key_VolumeUp and Qt::Key_VolumeDown. 
These events are not propagated to qt on Android as it seems. Is it 
intended?

I'm going to modify my activity.java to catch these events. Is there an 
easy way to pass these events as regular keyEvents in the eventLoop?

I'm using qt 5.3.2

Thanks
Philippe Lelong



More information about the Android-development mailing list