How to turn on the speakerphone using the api?
How to write programs for the speaker turn on if your phone entering then automatically respond with the speaker?
Try this Code example:
Accordingly in your Application, there is a file named "BlackBerry_App_Descriptor.xml" check the box of "Autorun at startup' then no need to click on the application separately.
Here is my : Startup class
import net.rim.blackberry.api.phone.Phone; import net.rim.device.api.system.Application; public final class StartUp extends Application { public static void main(String args[]) { new StartUp().enterEventDispatcher(); } public StartUp() { Phone.addPhoneListener(new PhoneCallListner()); System.out.println("============== Phone Listener Activated"); } }
and the PhoneListener class is:
public class PhoneCallListner extends AbstractPhoneListener { private boolean isIncoming=false; public void callConnected(int callId) { super.callConnected(callId); if(isIncoming) activateSpeakerPhone(); } public void callIncoming(int callId) { super.callIncoming(callId); isIncoming=true; } private void activateSpeakerPhone() { isIncoming=false; String str="Activate Speakerphone"; Screen screen=Ui.getUiEngine().getActiveScreen(); Menu menu=screen.getMenu(0); for(int i=0;iIt works as when calling entering is occur then only it activates the speaker otherwise not; If you want to out also then delete the variable 'isIncoming';
Try this one;
Tags: BlackBerry Developers
Similar Questions
I have a dell laptop with windows xp I want to use a wireless mouse but cannot understand how to turn off the pc mouse
Thank you for your help, I saved it for future use. My computer it turns out that's very smart after all the fourth test of every thing, I turned it on and the mouse remotely worked, thanks again
How to turn off the Wireless on NB100?
How to turn off the Wireless on Netbook NB100?
Hello
The WLan on NB100 can be enabled and disabled by using the FN + F1 keys.
By pressing Fn + F1 change wireless (Wlan/BT/wireless WAN) and outsideWelcome them
By the way; If you check the user manual, then you will find the info too. ;)
How to turn off the functions zoom and scroll to the touchpad on the Satellite
Hello.
Can someone tell me how to turn off the scroll and zoom for the Synaptics Touchpad v7.2 functions.
Can't seem to do it via the control panel.All of the suggestions.
Hello
You can do it in the settings of the touchpad.
You can find these settings will:Control Panel-> mouse-> tab advanced-> button Advanced settings future
Here you need to uncheck the option called use scroll function
Satellite A100 - how to turn on the Bluetooth radio?
Hi, I have a Satellite A100, and I would like to know how to turn on the bluetooth radio. I'd appreciate any help on this.
Hello
First that you check if your laptop was equipped by BT module.
If so, check if the BT stack is installed correctly.
If Yes, then you should be able to turn on the BT using the FN + F8 key combinationGood bye
Help, please
How to turn off the 3 g or 2g? I don't want my phone to be constantly pulling down or obtaining data when he feels like it and I can't find the setting. I don't want the wireless on except if I choose...
Cheers for the help
If you want to switch between 3G and 2G to save battery: settings | Wireless controls. Mobile networks | Select network.
If you want to disable the data without the use of airplane mode which also disables your vocation (which looks like), search the market for APNdroid. Great app that will do it. It is light. Just make sure that you have disabled (i.e. to have access to the Internet) before uninstalling. It does nothing with the wifi.
Does anyone know how to turn off the Magnifier, don't need but it keep jumping on screen
does anyone know how to turn off the Magnifier, do not want ir on ANYTIME
Click the Start button
All programs
Accessories
Ease of access CenterThen click on "Make the computer easier to use" downwards.
Then uncheck "turn on Magnifier." Press OK and you're done.
How to turn off the constant updates for Vista?
disable the update
How to turn off the constant updates for Vista? I'm fed up with them. every day the computer has so much more to do than what I want to do. I put Windows Update automatic to advise me when there are updates available. Update told me that everything is up to date. I turn on the next time and it will automatically download the new 6 * important * uopdates. XP has never used a parasite like this stuff constantly new download. HOW CAN I GET RID OF HIM?
Thank you
The updates released this week are updated for security. If ignore them, your computer is vulnerable to malicious software.
http://TechNet.Microsoft.com/en-us/security/bulletin/MS11-Sep
P5P34EA: how to turn off the FN key?
Hello
How to turn off the fn key?
Please READ: everyone saying fn = f10 or fn + f2
but it's not doing nothing for me! and ctrl + esc just display
me information of sistem!
Help, please
Thanks, March
Hello
Try the next method.
Hold the left SHIFT key you click Shutdown to temporarily prevent hybrid boot.
Let off the laptop computer for 10 seconds.
Start by typing esc button permanently as soon as you press the power button (do not wait for the prompt) and see if it will access the start menu - if that is the case, select f10 to open the Bios Menu.
Kind regards
DP - K
How to turn off the Toshiba Hotkeys properties?
How to turn off the Toshiba Hotkey properties so that I can install Microsoft Money? I get a message telling me that the installation cannot continue because the properties of the shortcut keyboard Toshiba is running, but I don't know how to turn it off, or when it is!
Hi coxrhu,
the fastest way to stop hot keys is to remove the Hotkey Services in the Windows startup process.
Launch msconfig, look at "Startup" and search for "00Thotkey" and "000StTHK".
This programs are normally responsible for the service.Hope this helps
I will assume no responsibility for accidents to your system or loss of data.BR
How to turn off the microphone on an iPad Pro 12.9 H
How to turn off the microphone on an inch of iPad 12,9 Pro
Settings - Privacy - Microphone - disable each app
Not sure that there is a global setting.
How to turn off the pane in the reading mail
How to turn off the pane in the reading mail
Hello! I think that the thing by Duane helps you solve your problem.
How to turn off the blue lights under the speakers on Satellite P100?
Does anyone know how to turn off the blue lights that lie beneath the speakers on a Satellite P100? They are evil in my sight!
Thank you, John.
Hello
You are a lucky man. This is a very new unit and I wish that I would also have one of the new Satellite models. But you know, the money is the key :(
However, I don't think that it is possible to put out these fires.
In my opinion, it is a part of the design of laptops. It seems very futuristically.How to turn on the lights on a Satellite P300-23V + user guide on CD
I wonder how you turn on the light a SATELLITE P300-23V?
I mean the light that show a bar above the touchpad and and the name of the Satellite is too bright.
In the manual it says how to do it with the slim remote control, but it's not on this model.
I know I could turn on the light with a combination of keys before, but now I can't find it now.
I updated to Vista 32 bit to Windows 7 64 bit and maybe some features of Thoshiba was lost what to do?I also lost my CD with the most extended usage guide. I searched the download area, but it doesn't seem to be here for download.
All Tips how to get it?with the remote?
Go to BIOS settings and in advanced option there should be an option for lighting.
Please try it and tell me if it works for you.S user manual download go to support portal under http://eu.computers.toshiba-europe.com/innovation/generic/SUPPORT_PORTAL/ and scroll down to download. You will find the option for manual Toshiba of the user.
My 5s torch lights up when a message arrives... How to turn off the it
My 5s torch lights up when a message arrives... How to turn off the it
Check: Settings - general - accessibility - Flash LED for alerts = Off.
Satellite U500-1E0 - how to turn off the mouse "by clicking on" noise
Please can someone tell me how to turn off the little "click" the mouse buttons do when they're depressed?
Thank you.
Hello
What rattling noise do you hear?
The rattling noise which is made by touchpad?
Is - this mechanical noise or sound comes from the speakers?
Maybe you are looking for
-
Cannot open the Safari due to server problem
Hi, I have tried to open Safari and received a message of not being able to find the right server. It has been opened before, but maybe not, because I downloaded El Capitan. All updates are underway. See below for the exact message. Thank you.
-
SCREEN NOT COMING (display does not)
Dear team Display does not come in my notebook whenever CapsLock light and light flashes, dealership also checked his RAM, but according to him, it's a problem internal, although wanting to take the necessary steps on an urgent basis Serial No. =[per
-
When I click on dump debugging, system, thumbnails and files dump files memory system archive of windows error reportingThey does not clear my cleaning disc on my computer at home. If someone could helpdeal with this problem? * original title - disc
-
Dell laptop impossible to access WiFi, no wireless networks detected.
I have a Windows Vista Home Premium system running on my Dell laptop. The Windows wireless does not allow me access know why I can't use WiFi on the computer. Wireless networks are not yet found. How can I get this fixed? Remember - this is a public
-
Windows 7 installation failure
Well I did not know the motherboard was not I could ' t boot in win7. So I tried to install it again, but it failed. Now I have a new motherboard but I know toget back to my original win7? How to uninstall the failed to install?