Changing volume of voice calls

by TonyQ » Wed, 10 Jun 2009 03:35:40 GMT


Sponsored Links
 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

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. [isat-android] Source android

yg gue magsud bukan sdk atau emulatornya, tetapi betul2 source seperti mau
install windows..
sebab di netbook teman saya dia ada 2 OS satunya win7 satunya lagi
Android...
jdi gue mau coba install android di Netbook...
gitulooooooo.....
"Aneh ngak pertanyaan saya...?"

thanks
hehehe










> >>> > 

2. ExpandableList question

I've got an expandable list - with multiple entries.

Is it possible to have a text-label between some of
the entries.

this entry is not expandable (just a text label) and
the height will be different (enough  for the text).

thanks.

p.s. much like what's possible in the Preferences
list.

-- 

3. Game Engine

4. Optimus S Special Drivers?

5. Passing parameters during installation

6. Creation Of Word Pad Editor

7. Error receiving broadcast Intent NullPointerException