BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Mute Microphone During call through API (http://www.blackberryforums.com/showthread.php?t=262410)

swest 11-12-2012 09:37 AM

Mute Microphone During call through API
 
Hi,

I am developing using a Bold 9700, using JDE 7.0.0. I was wondering if there is any way that I can make an API call to mute the Mic during a call?

Cheers,

Sam

swest 11-14-2012 05:10 AM

Re: Mute Microphone During call through API
 
I'm supposing the lack of response indicates it is not possible to do this?

I have so far tried the following without success:

Use of the static mute() method net.rim.device.api.system.Alert class. On closer inspection it would seem that this class has nothing to do with the microphone, but it was worth a shot.

Use of the Player and VolumeControl Interfaces. I am lead to believe that VolumeControl can manipulate the volume and mute settings of a Player. However, it seems to me that a Player does not have control over a call in progress (but I may be wrong), but to some output that has been pre-recorded. Maybe there is a constructor of Player (via the Manager class) that would allow me to hook into the current call? Other than this, I am pretty much running out of ideas.

Any pointers would be much appreciated.

Dougsg38p 11-16-2012 08:37 AM

Re: Mute Microphone During call through API
 
My only suggestion is using key event injection - i.e. send the key strokes that would hit the "mute" option on the call menu.


All times are GMT -5. The time now is 05:54 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.