The call coming and it's time to talk.

I want to do something like.

When the call comes and picked up then get her number of incoming call and it's time to talk.

How can I achieve this.

I work the first time on this type of application.

Can someone tell me how can I do this with some piecs code.

Coz it is very very urgent.

Thank you

Nitin

See, PhoneLogListener is a listener that fires an event (which you choose) when this change occurs.

In this case, we take calllogadded... so every time a new call log is added, it will run the code it contains.

as regards the closing of the application goes... like I said earlier... I used an application of auto start as module system with no screen, no icon... that began with the start of the phone and still don't run in the background...

But if you use screens in the application, it will be the icon... and then the second method (overrides the onClose method) can be used on the screen, when you exit the application.

It will do this: when you close this screen where you will exit the application, the application will not be left but sent to bottom and appears in the application, just like any other background running application Ribbon... and will continue to do what he does... In our case get the logs of calls received.

It could be that useful...

Tags: BlackBerry Developers

Similar Questions

  • IPhoto on the external hard drive will not launch despite the force quit and relaunch several times. Can someone help me?

    I have a MacBook from 2008. 4 years ago I moved my iPhoto on an external hard drive. I have thousands if photos on it. IPhoto on the external hard drive will not launch despite the force quit and relaunch several times. Can someone help me?

    < re-titled by host >

    I moved my iPhoto on an external hard drive.

    Did you move the iPhoto library for the external hard drive or the iPhoto application, or both?

    How is formatted the external hard drive? Is the file system on the drive Mac OS extended (journaled) or other system files?  Is the drive directly connected by USB or similar, or is it a SIN?

    IPhoto on the external hard drive will not launch despite the force quit and relaunch several times.

    I don't understand - if you force quit smoking, launches the application, or you can not force it quit?

    IPhoto is suspended without doing anything, when you launch?

    What version of iPhoto does? And what version of Mac OS X?

  • a wrong number or types of arguments in the call to and

    Hello

    Description: problem connecting to a database of the relationship of the processor of the NDA.

    I want to enrich the incoming events with available data in the relational database. As stipulated in the Oracle® CEP Administrator's Guide, I created the

    Data source JDBC in queue server configuration (config.xml). As he didn't throw me any error while staring at the server, I guess, the data source is fine.

    I followed the steps below:

    1 creation of the types of events in my context.xml in my application (fields in my paintings are shown as the property).

    < wlevs:event - type the type name = "walletMonitoringEvent" >

    < wlevs:properties >

    <! - walletkey in db is of type varchar - >

    < name wlevs:property = "walletkey" type = 'char []' length = "20" / >

    < / wlevs:properties >

    < / wlevs:event - type >

    2 create a "table" in context.xml

    < wlevs:table - event type = "walletMonitoringEvent" id = "walletMonitoring" data source = "walletDataSource" / >

    3. added the table source in my processor.

    < wlevs: channel id = "inputChannel" - type of event = "WalletEvent" >

    < wlevs:listener ref = "walletProcessor" / >

    < / wlevs: channel >

    4. has tried to link the database to the CQL processor.

    " < = xmlns:wlevs wlevs:config ' http://www.BEA.com/ns/wlevs/config/application "xmlns:jdbc =" " http://www.Oracle.com/ns/OCEP/config/JDBC "> "

    < processor >

    < name > walletProcessor < / name >

    < rules >

    < request id = "F1" >

    <! [CDATA]

    Select i.walletkey, i.createdDate in inputChannel as I, walletMonitoring w

    where i.walletkey = w.walletkey

    []] >

    < / query >

    < / rules >

    < / processor >

    < / wlevs:config >

    I get the error in the logs when I try to deploy the project below:

    < 17 November 2014 13:46:16 THIS > < emergency > < CQLServer > < BEA-000000 > < CREATE QUERY AS F1

    Select i.walletkey, i.createdDate in inputChannel as I, walletMonitoring w

    where > > i.walletkey = w.walletkey < <

    a wrong number or types of arguments in the call to and. Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    < 17 November 2014 13:46:16 THIS > < emergency > < CQLServerTrace > < BEA-000000 > < oracle.cep.exceptions.CEPException: number or types of arguments in the call to and wrong >

    < 17 November 2014 13:46:16 THIS > < error > < CQLProcessor > < BEA-000000 > < unable to create the declaration [F1].

    Invalid statement: "select i.walletkey, i.createdDate from inputChannel as I, walletMonitoring w.

    "where > > i.walletkey = w.walletkey < < '.

    Description: a wrong number or types of arguments in the call to and

    Cause: This error occurs when the named function call cannot be matched to any declaration for this function name. The function name can be spelled, a parameter can have the wrong data type, or the function declaration may be faulty

    Action: Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    < 17 November 2014 13:46:16 THIS > < error > < deployment > < BEA-2045013 > < the context of the "updateWallet" application could not be started. The cause is:

    Invalid statement: "select i.walletkey, i.createdDate from inputChannel as I, walletMonitoring w.

    "where > > i.walletkey = w.walletkey < < '.

    Description: a wrong number or types of arguments in the call to and

    Cause: This error occurs when the named function call cannot be matched to any declaration for this function name. The function name can be spelled, a parameter can have the wrong data type, or the function declaration may be faulty

    Action: Check the spelling of the registered service. Also confirm that his appeal is correct and its settings are correct data types. >

    Hi Siva,

    It seems the event type walletkey property is set incorrectly. Please try to set the event as follows:

    Use "char" instead of "char []."

    Best regards

    Sandeep

  • Hello! I use a PC and have problems loading my homepage of Muse. First of all, I made one with the address "nordensstjarnor" and updated several times without any problems. And once, I couldn't download on 'nordensstjarnor' any longer. Don't know why, s

    Hello! I use a PC and have problems loading my homepage of Muse. First of all, I made one with the address "nordensstjarnor" and updated several times without any problems. And once, I couldn't download on 'nordensstjarnor' any longer. Don't know why, when he got the address "nordensstjrnor". That me ok at first, but now I really need to give the first address once again, "nordensstjarnor". But when I try, the alternative of the site of ' publish on ' old isn't here. And if I try to create a new one, but with the old URL, the box turns red. What can I do?

    The reason why you cannot change nordensstjarnor.businesscatalyst.com is because a different Adobe ID is used for the publication of this site.

    t * [email protected] is used for the publication of nordensstjarnor.businesscatalyst.com

    t s. * [email protected] is used for the publication of nordensstjarnorindex.businesscatalyst.com

    You must make sure that Adobe ID is used in account publish, so that you can see a list of the websites published under this account. Go in Edition > Preferences > publish on Business Catalyst > publish with accounts

    You can pass the accounts for you can also make changes to the sites.

    Thank you

    Sanjit

  • I want to change the size and color of the text in the call boxes and text boxes. How can I do this? Jack

    I want to change the size and color of the text in the call boxes and text boxes. How can I do this? Jack

    Highlite the text inside the text box and press Ctrl + E.

  • Computer hangs after having gained access to workstation, network from the beginning places and at other times.

    Hi, I use Windows XP Professional SP/3 on a 32-bit computer. We have three computers on a home network wireless, everything works well for several years. Now several weird things happened more or less at the same time. I can't identify anything what I did precisely that lead to these problems that are:

    a. when I try to open 'My computer', ' Start ' or after opening 'Explorer', all I see is a small icon yellow flashlight, but not records.

    b. when I go 'Start' to 'My Documents' or 'My images', 'My Network Places' and the respective window opens but then crashes if I try to select an option in the left column.

    c. when I open a Word, PowerPoint or other document and try to "save under", a small window pops up that says "initialization root to display folders» Finally after about 2 minutes, show records roots but once again the process crashes as I try to use it.

    d. my computer recognize my HP ScanJet 5590 or my Canon digital camera when I attach one of them through a USB port, but the scanner Wizard and camera does not open to receive the downloaded or scanned images... nothing happens.

    e. when I open a file in "My pictures", I get a picture icon, not the image and then have to go to 'open with' to see the photo in the image viewer. If I try the film option, I see "generating Preview ' but nothing happens.

    f. and finally, when I get to the "my network places" and then click on "computers from the network view", the window hangs. Other computers on the network will appear in "My Network Places" but now only show as an icon is empty, is not an active link.

    So, maybe all these oddities relate? I have reloaded the scanner software, checked the camera drivers and a scanner, all OK. I don't know where to go from here after reading several threads of discussion about some of these issues. Can someone help me? Thank you very much.

    John

    To answer #1, that looks like a setting in the "boot.ini".  The following articles answer this:

    "How to edit the Boot.ini file in Windows XP"
      <>http://support.Microsoft.com/kb/289022 >
    "Switches to boot mode safe mode to the Windows Boot.ini file"
      <>http://support.Microsoft.com/kb/Q239780/ >

    This could have also been established by setting a check mark in the tab "Boot.ini" in msconfig.  Try to clear all the check marks in this tab.

    Good job tracing it down to WIA.  He would explain or influence the camera, scanner and long delays to explore.  Check out some of the following items:

    "Long delay before appear it files in my computer in Windows XP"
      <>http://support.Microsoft.com/kb/819017 >
    "Windows XP does not recognize a Canon PowerShot S100 Digital camera"
      <>http://support.Microsoft.com/kb/810609 >
    "Windows XP takes a long time to start"
      <>http://support.Microsoft.com/kb/823612 >

    I believe that the general consensus is to remove all the seller WIA drivers, reboot, then reinstall them using the manufacturer.  It could be that you ended up with an incompatible mix of drivers, perhaps due to an update.

    HTH,
    JW

  • Configuration to use windows mail for mobile and iphone without having to sign in with the user name and password each time?

    Hello, I have a windows mail account on my laptop and I also have an iphone. I registered my account companys on both laptop and iphone problem is when you configure receive it and send messages on mobile then you can not send screws iphone.

    If you set up the password for the e-mail account on your iphone, it will stop and request your username and password on your laptop.

    How is it possible to use both systems without having to login with user name and password every time?

    Hoslo

    Both could be "collision" in that they are both trying to access the mail server at the same time.  Make sure that they do not check too often.  Try to disable a device when checking with each other and see if that makes a difference.  Also with WinMail, if you have a POP3 account, make sure that under Tools | Accounts | Mail | Properties | Advanced that you have configured to leave a copy of messages on the server, so the phone can bring too, that normally it will delete messages on the server when it downloads.

    Steve

  • the cells changed and how many times

    Hello

    We keep a record of each archive and we are adding a new record to the table because it's a change.

    It may be that many records belong to the same id.

    a large number of fields in the tables.

    I want to make the difference between the recordings had the same id and how have changed several times.

    I thought the same way on the forum.

    WITH the DATA (acctid, addr1, addr2, city, province)

    (SELECT 1 101 101, "wef", "sd" to double UNION ALL

    Select 1, NULL, 101, "wef", "sd" to double UNION ALL

    Select 2 101 101, "wef", "sd" to double union all

    Select 3 101 101, "wef", "sd" to double UNION ALL

    SELECT 4 102 102, "homeless", "dc" FROM dual)

    , match_finder AS (SELECT acctid, addr1, addr2, city, State, count (*) OVER (PARTITION BY addr1, addr2, city, province) AS identical_rows)

    DATA)

    Select acctid, addr1, addr2, city, province

    of match_finder

    where identical_rows > 1 / * with the same record * /.

    where identical_rows > 1 / * with different records * /


    We can find a recording of the same or different in this example, but couldn't find that changed several times the cell.


    the best solution is to write a trigger, but the data entry is complete.

    examples of data

    ID1st quarterQ2Q3Q4Date
    1121110/02/2015 10:09
    1221110/02/2015-19:09
    1124202/12/2015-12:10
    21581013/02/2015-19:09
    3523601/12/2015-11:20
    37241013/02/2015-07:00

    Is it possible to display data as

    IDfieldhas changed
    11st quarter2
    1Q31
    1Q41
    2--
    31st quarter1
    3Q31
    3Q41

    The goal; What (id) records how long have changed and what fields are changed several times.

    yours sincerely.

    Hello

    You should always explain how you get these results from data provided.  For example "I want to show the number of lines where each column (T1 to T4) has changed from one line to the other, you place your order by entry_date.  The combination (id, entry_date) is unique, and no column can be NULL.  The q1 through Q4 columns can be NULL; change null to any value (or a null value) is considered to be a change.  If a column not ID never change for a given (e.g., column q2 for id = 1 in this example of data) then I don't want to see (id, field) combination at all.  If no columns for a change of id (for example, id = 2) then I don't want to present this card at all. »

    If this is what you want, here's a way to do it:

    WITH unpivoted_answers AS

    (

    SELECT id, field

    DECODE (response

    LAG (response

    ) T

    response | '?'

    ) OVER (PARTITION BY id, field)

    ORDER BY entry_date

    )

    0

    ) T

    ) AS changed

    Answers

    MUST INCLUDE NULL VALUES

    (response

    FIELD IN (q1, q2, q3, q4)

    )

    )

    SELECT id, field

    SUM (changed) - 1 AS number_of_changes

    Of unpivoted_answers

    GROUP BY id, field

    SEEN the SUM (changed) > 1

    ORDER BY id, field

    ;

  • Evolution of the Apple Watch and health monitoring time Kit

    I work the second shift, so my 24 hours are different than most. I was wondering if there is a way to change the Kit Fitness Tracker/health monitoring times?

    Hi Patrick

    I'm afraid that the feature you described is not currently available under watchOS.

    If you want to suggest that Apple considers adding this as a new feature, you can do it here:

    https://www.Apple.com/feedback/watch.html

    All submissions are read (even if you do not expect to receive a response).

  • Why the MovieClip MouseOver and mouseout/mouseouthandler() times called on MouseOver

    Hello


    I have a simple clip to which I link two events

    1 - MouseOver

    2 - Mouseout/mouseouthandler()


    in these events, I just followed simple text


    But the problem is when I take my mouse over the clip, the two events called retracing the string in the output panel


    Infact, things must be done like that on mouse over, his text is printed and when I take my mouse off [out] event mouseout/mouseouthandler() movieClip must be called.

    Import fl. Motion . Color ;

    Import flash. View . MovieClip ;

    Import flash. events . MouseEvent ;        

    var mc: MovieClip = new MovieClip();    

    MC. Graphics . lineStyle (2, 0xCCCCCC)    

    MC. Graphics . drawRect (20, 50, 160, 160) ;    

    MC. Graphics . endFill ();    

    ce . addChild (mc) ;               

    MC. addEventListener ()MouseEvent. MOUSE_OVER onMouseOverMC );        

    MC. addEventListener ()MouseEvent. MOUSE_OUT onMouseOutMC );                

    function onMouseOverMC (e:MouseEvent)

    {trace()'MouseOverMC called' () } ; }        

    function onMouseOutMC (e:MouseEvent)

    {trace()'MouseOutMC called' () } ; }

    The problem is that you only draw the lines of the rectangle and not fill up, so the only interactive portion of the mc is the lines forming the border.  Try to add the code to beginFill and see if that helps...

    mc.graphics.beginFill (0xFFFFFF);

  • Wipe the hard drive and rebuild with time machine

    My MacBook Pro is incredibly slow.
    Can I delete it and then gradually add the files I want to Time machine

    Yes, and what you are proposing is often the solution to the problems caused by changes in the system that are either too many, or for which there is no reliable uninstall procedure.

    The following general steps:

  • Why Windows asks me to install the same updates several times. Often several times the same updates and often several times in the same day?

    I install security updates and important. Sometimes in the same day, I wonder to install the same updates. When I check the history I see that they are already installed. This can happen several times in the same day.

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update

    UTC/GMT is 00:34 Sunday, March 11, 2012

  • Replace the call button and hang up

    Hello

    To overrride the button back on a smart blackberry phone I override the onClose() method.

    Is there one or more similar methods for buttons (green) call and hangup (red)?

    I want to just make sure that whenever the user leaves the application exit code is executed.

    Thank you

    There are two options:

    1 to implement the keyListener (KeyListener) interface.

    2. replace deactivate() and close() functions.

  • When I log on my monitor only stays on for a few seconds and then goes black. need to turn the screen off and on several times before it lights.

    fact it for about a week now.  have ran antivirus scans and asked a lot of people who were not able to help me at the moment.

    It looks like a hardware problem.  Your monitor, cable or even the video card in your computer goes wrong.  My bet is on the screen.  Try to swap the monitor with another computer and see if the problem follows the monitor or the computer.

    HTH,
    JW

  • the calls from and to voice our aspire one D255E. text and receive is ok

    details, must voice and vid guest windows 7 starter edition. WTF. There are millions of savy geeks who can tell us. Thank you for your support

    Voice and video calls can be made in Skype (free of course) which replaces Messenger in March.

    http://www.Skype.com/

Maybe you are looking for