Android Volume Buttons



  • Hi,

    Is it possible to ensure the volume buttons change the 'media volume' and not the 'ringtone volume' on Android.

    I'm using the SoundEffect item. When a sound is playing, the volume buttons change the media volume. However, if no sound is playing, the volume buttons change the ringtone volume. This is on a Samsung device running 5.0.

    My problem is that I'm using only short and sporadic sound effects so it is difficult to change the volume of the app from within the app.

    Something like the native call:

    setVolumeControlStream(AudioManager.STREAM_MUSIC)

    Thanks,

    thompson


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.