×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    What's the UID of incoming/outgoing call event

    Hi all,
    I am using the CLogViewRecent and CLogClient to monitor the log database. I want to accept notification when there is a incoming or outgoing call so that I can get the phone number.
    the iRecentLogView->Event(); will return a CLogEvent object that contain all the information of the event. Could you tell me how to judge it's a incoming/outgoing call event by the
    UID returned from the EventType() call?

    I tried 286457229 but it does'nt work.

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: What's the UID of incoming/outgoing call event

    you can also use CTelephony or ETel Multimode API for getting the number of incoming and outgoing call.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: What's the UID of incoming/outgoing call event

    And you get it lot faster and easier by using the Telephony API's, also there are some examples available on CTelephony, that can be found from the code samples section on the Wiki.

    yucca

  4. #4
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    Re: What's the UID of incoming/outgoing call event

    Thank you. But I am working on S60 2rd, which does'nt support CTelephony.

  5. #5
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: What's the UID of incoming/outgoing call event

    its support ETel multimode api you need to read the following class
    RMobileCall
    RMobilePhone
    RMobileLine

    and the ETel Api have
    RCall
    RLine
    RPhone

    for this you need etelmm.lib and etelmm.h
    hope this will help you.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  6. #6
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    Re: What's the UID of incoming/outgoing call event

    Thank you. I searched the forum and found below codes:

    RMobileCall::TMobileCallInfoV1 callInfo;
    RMobileCall::TMobileCallInfoV1Pckg callInfoPckg(callInfo); User::LeaveIfError(iCall.GetMobileCallInfo(callInfoPckg));
    TBuf<50> telNumber = callInfo.iRemoteParty.iRemoteNumber.iTelNumber;

    I put above code in my application, but the iCall.GetMobileCallInfo(callInfoPckg) give me crash.

    I searched the forum and found someone encountered the same problem with me, but he did'nt get any solution.

    I want to find out the panic number, but I don't know how to. The application just exit.

    My phone is Nokia 3232, isn't this function supported by this phone?

    Thank you.

  7. #7
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    Re: What's the UID of incoming/outgoing call event

    solved. I missed one important call:

    RLine::TCallInfo callInfo;
    const TInt KCallIndex = 0;
    iLine.GetCallInfo(KCallIndex, callInfo);

    Although I don't know what's the meaning of this function. But it does work.

    Thank you all. This method is much better than LogClient.

  8. #8
    Nokia Developer Expert
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    1,355

    Re: What's the UID of incoming/outgoing call event

    Quote Originally Posted by goodtaste
    I tried 286457229 but it does'nt work.
    It must be 268457229

    LOGWRAP.HRH
    #define KLogCallEventType 0x1000550D

    LOGENG.H
    const TUid KLogCallEventTypeUid = {KLogCallEventType};

Similar Threads

  1. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  2. how to simulate incoming call event in Emulator?? egent !!
    By wjcrr in forum Series 40 & S60 Platform Feedback Archive
    Replies: 0
    Last Post: 2007-05-11, 03:58
  3. Run java application by call event.
    By vity-ok in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2007-02-06, 11:01
  4. CLogEvent problem
    By silviuccia in forum Symbian
    Replies: 2
    Last Post: 2006-12-22, 15:28
  5. Incomming call event
    By ash_bhatia in forum Symbian
    Replies: 5
    Last Post: 2004-12-16, 13:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×