Hi,

I am trying to set the volume of voice conversations from my
application and have been unable to.

The code I am using is shown below:

AudioManager manager = (AudioManager) getSystemService
(Context.AUDIO_SERVICE);
manager.setStreamVolume(AudioManager.STREAM_VOICE_CALL,volume,0);

Whatever value of volume I pass in makes no difference to the actual
volume of the voice call, for instance if I set it to zero I would
expect to hear no voice.

Does anyone know what I'm doing wrong?

Cheers,

Tonmy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to