How to detect incoming calls in the background?

Hello

our application works in the background (and playes audio). We are looking for a way to detect incoming calls (and to stop playing).

It comes to CLDC app, not a moped.

Is it possible in background mode and how? In which case I can listen?

If not, is it possible in the leading fashion and how?

I guess we can add a net.rim.blackberry.api.phone.PhoneListener and use the callIncoming method
in the main application, but it works in background mode?

If anyone can confirm, I would appreciate... Thank you...

@ BBDev, but when a call is incoming, and then sound stops automatically right? And we don't have to capture the event however!

Thank you!

Tags: BlackBerry Developers

Similar Questions

  • How can I get rid of the background yellow when I display an image using the photo viewer?

    Original title: Windows Photo Viewer

    How can I get rid of the background yellow when I display an image using the photo viewer? It gives images a yellow cast.

    Thank you

    Ed Fuller

    How can I get rid of the background yellow when I display an image using the photo viewer? It gives images a yellow cast.

    Thank you

    Ed Fuller

    Hi Ed

    See the following for the patch thread.

    Windows 7 photo viewer shows images with an orange and yellow tint:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/window-7-photo-viewer-shows-pictures-with-orange/e5d31c5e-ae84-4EBD-bbe9-9428f410560b

    Concerning

  • How to print a document without the background of color?

    I use HP Deskjet 2050. Just wonder how to print a document without the background of color? Thks

    You want to print the entire page in only black and white, or are you wanting to remove a background from an image and print it?

  • How do you keep an incoming call for the slide to unlock?

    I love this phone and now my only problem (just me probably..) is an incoming call has this slide that you have to move, and I was wondering if there is a way to get rid of her... I asked before the lock on the front screen and got the unlock app that works very well if anyone knows if there is one for an incoming call? It's a pain... Thank you!

    Andrea

    I'm sorry I misled you.  Search with the keyword "thouvenel" market and you should find it.  (He spells his name with two d's)

  • Shows incoming calls to the United States instead of the city and the State

    IiPhone 6plus, IOS 10.  Incoming calls from unknown number of shows in the United States instead of / the State of the city. How can I fix this. Thank you

    Settings > general > language and region > region = 'United States'... assuming that is where you are.

  • How can I find and save the background music of my Flash site?

    I see that the background music in my Flash site is in a symbol called muz.  When I click on the properties of this symbol, the sound file location is listed comme.\flash\sound\muz.wav that I could not find that its subfolder in the folder flash, or if I could find the file.  I tried to do a search to find the muz.wav file in my computer, but it is not found.  Anyone know how I can find and save this file?  Can the symbol somehow be exported and the sound file extracted in this way?

    I did it just now using something in the sense of this approach (found via Google somehwere)...

    Expand the sound file in the scenario of a fla file empty and on the file menu, select export-> film Export-> and select wav for the file type.

  • Can not see incoming calls when the iPhone is locked

    When my iPhone is blocked I don't see if there are messages or incoming calls. It isn't anything like that before.

    Thank you

    check the tools on your phone

  • How trasmet an incoming call to Satellite M500 by Blueetooth

    I use sony mobile C510 with A2DP compatibility and toshiba laptop ST5401 M500.

    I would like to respond to the call to the mobile C510 via laptop, that means that when the call comes my portable speaker should ring and after participating in the call, I hear the voice of the speaked and my laptop microphone should act as a micro cell.

    Can I use this bluetooth help please responde me [email protected]

    The idea is great. Nevertheless, I see 2 problems here.
    -You need to be always be connected via Bluetooth with your laptop. This could unload your mobile phone much earlier than you want.
    - Or you use a client program on the cell phone that detects the type of ringtone and establishing a Bluetooth connection in this case. I don't know such software. You know one?
    A2DP is not suitable for this purpose because it is unidirectional. This means that you, and hear some s.th., but you do not have the opportunity to respond. You must therefore headset or hands-free support which are two-way.

  • How to make repeated calls to the reader in the AcqVoltageSamples_IntClkAnalogRef code sample.

    I want to make repeated calls to the reader in the AcqVoltageSamples_IntClkAnalogRef code sample.  A comment in the code says I can do simply by calling the reader. BeginReadMultiSample method of the callback function. I tried this without success using the same settings for the player. Is it possible for the callback function? If Yes, how should I call the reader? I'm programming in c#.

    Thank you

    John

    Doug,

    No problem.  I found the class to which the timeout without much property in safely.  I now have a solution to repeated calls.  The two keys were the infinite time-out setting and the elimination of all the DAQmx objects in the finally section of the callback function before calling the AcquireData() method for the next cycle of reading and processing of data.  The user sets blQuit to false and call AcquireData() by clicking on the Start button.  Repeated calls are then made to 'automatically' until the user clicks the button exit.

    Thanks for your help,

    John

    Private Sub AcquireData()

    This code creates all the objects needed to acquire and store the data of a "sweep."

    {

    slaveTask = new Task();  Double sampleRate = Convert.ToDouble (this.cbxSampleRate.Text);

    Double minVolts = Convert.ToDouble (this.cbxMinVolts.Text);

    Double maxVolts = Convert.ToDouble (this.cbxMaxVolts.Text); int samplesPerChannel = Convert.ToInt32 (this.cbxSamplesPerChannel.Text); slaveTask.AIChannels.CreateVoltageChannel ("Dev1/ai0", "", (AITerminalConfiguration)(-1), minVolts, maxVolts, AIVoltageUnits.Volts);

    Set up sync Specs

    slaveTask.Timing.ConfigureSampleClock ("", sampleRate, SampleClockActiveEdge.Rising, SampleQuantityMode.FiniteSamples, samplesPerChannel);

    Set up the reference trigger. US fires with a level of 1 volt and will record 2 samples of trigger before (the minimum)

    slaveTask.Triggers.ReferenceTrigger.ConfigureAnalogEdgeTrigger ("APFI0", AnalogEdgeReferenceTriggerSlope.Rising, 1.0, 2);

    slaveTask.Stream.Timeout = - 1;

    slaveTask.WaitUntilDone ();

    Check the task

    slaveTask.Control (TaskAction.Verify); InitializeDataTable (slaveTask.AIChannels, ref dataTable);

    acquisitionDataGrid.DataSource = dataTable;

    Reader = new AnalogMultiChannelReader (slaveTask.Stream); drive. SynchronizeCallbacks = true; drive. BeginReadMultiSample (Convert.ToInt32 (cbxSamplesPerChannel.Text), New AsyncCallback (slaveCallBack), null);

    }

    catch (System.exception DaqException)

    {

    MessageBox.Show (exception. (Message);

    slaveTask.Dispose ();

    }

    }

    private void slaveCallBack (IAsyncResult ar)

    {

    Try

    {

    read data from the channel

    data = reader. EndReadMultiSample (ar);

    dataToDataTable (data, Ref dataTable);

    plot the data here, if blKeep also write it to file

    }

    catch (System.exception DaqException)

    {

    MessageBox.Show (exception. (Message);

    }

    Finally

    {

    This. Refresh();

    slaveTask.Dispose ();

    If (! blQuit)

    {

    AcquireData();

    }

    }

    }

  • Connect Skype and incoming calls to the PBX - account problem

    Hello

    I have Skype Connect enabled and linked to my PBX with a SIP profile.

    Now, I need activate incoming calls from Skype to my PBX.

    Therefore, I need to link a Skype business profile account, but he refuses because the account I want to connect is a 'personal account '.

    -Can I convert this account to business account?

    - Or maybe I can delete this account and reuse the same Skype name?

    Currently, I have 2 accounts (the admin Manager, "msfsupply" and a different account 'msf.supply').

    I can't activate one of them for incoming calls.

    I would like to be able to use one of these Skype names for incoming calls from my Skype Connect.

    Please tell us what is the best thing to do.

    Thank you

    Renaud

    Haha...

    I started first with the help of Skype.

    They told me to contact microsoft, because it is a business problem.

    I called Microsoft

    They told me that it was not for them either and I should post a question here on answers.microsoft.com to get a technician on that.

    Skype sale:

    https://www.Skype.com/en/business/

    We do not work for Microsoft.

    We are mainly volunteers here, just like you, computer users who give free advice from other users in our own spare time.

    So, all I can suggest is TechNet, if Skype and Microsoft won't help you:

    https://social.technet.Microsoft.com/forums/Lync/en-us/home?Forum=sfbfr

    Kind regards.

  • How to detect fraud sites on the net

    in fact, I came to know websites are offering you opportunities to earn money on the internet by clicking on the sites for example 'two Dollar click'. I want you please teach me how to detect its authentication and its evidence.

    Thank you

    The short answer is, "if it sounds too good to be true, it probably is." Any site that promises you money easy to 'make things you already all days' or 'just by ' is likely to be a scam waiting to be discovered.  The same goes for any flavor of 'Go this expensive piece of equipment for only a few dollars' or ' work from home and make thousands of dollars.

    There are dozens of these sites that go upwards and downwards and save it under a new name every day so it's really not anything to sure to check a site and determine if it is a scam or not.  Common sense is your best guide.  The only "secret: 'this scammer really knows how to separate a fool and his money access."

  • How to REMOVE a photo in the background picture in the list of background photo in the display on my computer properties?

    I have a picture in my LIST of BACKGROUND PICTURES under the PROPERTIES of my computer DISPLAY area and the photo is named WINDOWS LIVE PHOTO GALLERY.  I WOULD LIKE TO BE PERMANENTLY DELETED.  HOW CAN I DO THIS?  I use Windows XP.

    Hello

    You can try these:

    a. go to the start menu and select desktop or double-click top from the desktop.

    b. go to the Tools menu, select options and then select option files and hidden folders.

    c. navigate to the folder... \Windows\. If you are presented with a warning about the change of system files, click on the link "View files" to continue.

    d. look in this folder for the background name you want to delete. If this is not the case, try looking in these places:

    i. Windows\Web\Wallpaper directory

    II. the "My pictures" folder This inside "My Documents".

    III. If you are using Internet explorer, it can be stored in C:\Documents and Settings\\Application Data\Microsoft\Internet explore

    e. If you still haven't found it, go into the Start Menu search. Click "all files and folders" and enter the name of the background to locate.

    f. When you have located the file, you can either delete or move to a new folder. Try to create a folder named Backgrounds moved. If you move the file into the new folder, it will be removed from your list, but still available on your PC if you change your mind.

  • When using paint how to edit text without losing the background image

    I'm trying to edit text on a picture and it has a background, I don't want to lose the bottom.  How can I do this using paint?

    If image launched initially with a word in the background, you can't change it with paint. You can write a note on top of it so you cover, but you can consider using Adobe Photoshop.

  • How to detect an interaction of the user with a VerticalFieldManager object?

    Hello

    It is a question for those who have more experience with gui on BB things.  I use the eclipse with Simulator pack 6 and 9800 component plugin.

    I have a VerticalFieldManager (VFM) object that contains a few fields menu. I would like to detect when the user attempts to modify one of these fields, to load a file and update the menus. The thing is that these menus are usually not changed by a user, perhaps only once for the time up-front, something like the choice of your country and city and other, then you will not change that the next time around. So I want to avoid loading the file and simply use the settings saved in the place. Here is what I tried and the solutions I've had but NOT as aestatically

    (1) I can not load the file as a response to one of the modification of fields (using setChangeListener) because it is already too late and the present menu is outdated.

    (2) I can add a checkbox to the optimization of resources and take care to load the file and update the menus there. It works, but I DON'T want. It's ugly and not easy to flow!

    (3) I tried to setChangeListener for the optimization of resources, but it receives no change! Here is the code for my VFM:

    the final private class OkVerticalFieldManager extends VerticalFieldManager implements FieldChangeListener
    {
    ----------------------------

    ----------------------------

    ' Public Sub fieldChanged (field field, int context)
    {
    If ((contexte & FieldChangeListener.PROGRAMMATIC) == 0)
    {

    ----------------------------------------------

    -------------------------------------------

    }

    }

    }

    (4) I tried to listen to reminder to focus on the optimization of resources, but it is called by display from the beginning and it seems that I can't control it. I mean I don't want to be called until the user actually click on the object.

    So I hope that there is a better way to detect a user of ANY click or an interaction with the optimization of resources and I catch and do my thing, before the opening of the menus in there.

    Hope that this clear enough.

    Thank you.

    A few possibilities:

    1. you can check the field with emphasis (to use VOR getLeafFieldWithFocus()) in your makeMenu() and branch accordingly.

    2. you can define listener focus on each field change and bake menu items when its focusChanged() method is called with equal to FOCUS_GAINED eventType. There you can check the setting of field and prepare the relevant menu items.

    You can use the same setCookie/getCookie approach I have proposed before in both scenarios if you wish.

  • How to insulate an image from the background?

    I have a simple chart, I need to isolate (chassis?), because the background is displayed in the design. How can I do this? Thank you!

    When you place the PDF check box click to display import options (or hold down the SHIFT key when you press OK). Select transparent background.

Maybe you are looking for

  • Satellite A210-1AO: modem are not not in Device Manager

    I bought toshiba Satellite A210-1AO part number: PSAELE-03Q009G3 with Windows Vista Home Premium.There are a lot of unwanted software from toshiba (bloatware) and I wanted a clen of OS windows vista installation, so I downloaded all the drivers from

  • Why my old emails disappear from the cloud?

    Why my old emails disappear from the cloud?  After only a month or two, they are gone! (and I pay extra each month more space!)

  • Excessive voltage

    The battery was 80%, but as soon as I started usb tethering, rebooted phone, the battery was still 80, and then I tried tethering enabled data connection, all of a sudden the battery fell to 0% and restarted phone Now the battery is 1% but mV are 400

  • How to change the name used when I downloaded more than 80 photos and classified with the wrong name

    I downloaded more than 80 pictures and inadvertently gave them all the wrong name. I know that I can change them one at a time, but how I can change the whole set at once?

  • Re-install the operating system - Vista drivers?

    Hi all I need to re - install the Vista System 32 - bit OP on my HP S3300t (AMD Athlon 64 x 2 Dual Core Processor 2.6 GHz, 2.0 GB of memory). My system has a disk recovery and separate partition.  That seems simple enough.  However, what about driver