Disable changing volume by user and showing popup after clicking volume up/down

Disable changing volume by user and showing popup after clicking volume up/down

BY 13 Jul 2015 Native Application Development

Hi,

I want to disable changing volume by user and disable showing popup after pressing volume up/down. How can I achieve this?

I realized that when I change a sound type using

sound_manager_set_current_sound_type(SOUND_TYPE_RINGTONE)

it disable changing volume but popup is still showing.

 

In nutshell, I want to get the same behavior like during incoming call and then pressing volume up/down.

Thanks for any help.

Written by