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. C2DM - Message to device delivery time

Hi all

Im currently developing a C2DM app, and I`m trying to understand what
controls
the time taken from me requesting a push notification, until the
message is actually sent to my device?

Most of the time I get the message within seconds, but on other
occasions itll take
up to a minute or more before the message is received by my device.
Ive tried on both my HTC Desire and with the emulator, experiencing
the same "issue".

Can anyone please elaborate on this?

Regards
Daniel

-- 

2. Can I use POSIX Message queue in developing platform device driver?

I'm developing EBI driver.
May I use POSIX Message queue in developing this, platform device
driver?
If not, what can I use for alternative.

-- 

3. How to Customise android Os For supporting regional launguages

4. Greystripe banner.refresh causes null pointer exception

5. flash enable browser on eclair

6. Direct interaction between application and library

7. Android Referral Tracking not working