×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    7

    get/intercept caller's number in S60 2nd edition

    Hi,

    Can anybody please help me out in intercepting caller's number in S60 2nd edition?

    I am successfully able to do that in S60 3rd ed. with the help of CTelephony, but how should i do it for S60 2nd ed?

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

    Re: get/intercept caller's number in S60 2nd edition

    in 2nd edition you would need to have access to some etelmm APIs that are not present in any S60 SDKs, so you actually con not do it with public SDK.

  3. #3
    Registered User
    Join Date
    Aug 2004
    Location
    Hyderabad,India
    Posts
    808

    Re: get/intercept caller's number in S60 2nd edition

    hi,

    These files though not public and tested are available at http://zerogravity.narod.ru/symbian/uiq/etelmm.html

    TInt KError = iCall.OpenExistingCall(iLine, iName);
    User::LeaveIfError(KError);
    RMobileCall::TMobileCallInfoV1Pckg callInfoPckg(iRemotePartyInfo);
    iCall.GetMobileCallInfo(callInfoPckg);
    //RMobileCall::TMobileCallInfoV1 iRemotePartyInfo; // for caller id in SDK 2.1
    //iRemotePartyInfo.iRemoteParty.iRemoteNumber.iTelNumber will contain caller number

    Regards,
    Sudhakar
    Regards,
    Sudhakar

  4. #4
    Registered User
    Join Date
    Sep 2009
    Posts
    7

    Re: get/intercept caller's number in S60 2nd edition

    Thanks Sudhakar,

    I downloaded and added the etelmm.h file in the project but couldn't find RMobileCall class in it.
    I am an amateur in Symbian C++, hence this question.

    Please answer that.

    I have added capabilities Network Services and Read User Data to my .mmp file.

    Thanks.

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

    Re: get/intercept caller's number in S60 2nd edition

    Quote Originally Posted by richasinha View Post
    Thanks Sudhakar,

    I downloaded and added the etelmm.h file in the project but couldn't find RMobileCall class in it.
    I am an amateur in Symbian C++, hence this question.

    Please answer that.

    I have added capabilities Network Services and Read User Data to my .mmp file.

    Thanks.
    They should not be able to distribute the complete version of the header file, also they should not be able to distribute library. The normal cut-down version of the header is not containing the required parts.

  6. #6
    Registered User
    Join Date
    Sep 2009
    Posts
    7

    Re: get/intercept caller's number in S60 2nd edition

    Thanks for the reply Symbianyucca.

    Actually i am in dire need to get caller's number in S60 2nd edition or else my requirement might get de-scoped.

    Can you please suggest some other possible way to do so?

    Regards,
    Richa.

  7. #7
    Registered User
    Join Date
    Sep 2009
    Posts
    7

    Re: get/intercept caller's number in S60 2nd edition

    And also, how can i gain access to the etelmm API as suggested by you in your first reply to this thread?

    Please suggest.

  8. #8
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    88

    Re: get/intercept caller's number in S60 2nd edition

    You can get etelmm libs and headers from the A925 SDK (they are binary-compatible on S60 2nd ed). http://mikie.iki.fi/lxr/source/Conte...l_listener.cpp shows a complete example of using them to get the calling number for incoming calls.

  9. #9
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: get/intercept caller's number in S60 2nd edition

    You can use the Log Client API, a public API included in the S60 SDKs.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  10. #10
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    88

    Re: get/intercept caller's number in S60 2nd edition

    Indeed, for just getting call data the Logs api is fine.

    However, the logs reflect new calls only after a certain delay. For certain classes of applications - that need immediate notification - RMobile(Phone|Call) are needed.

  11. #11
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: get/intercept caller's number in S60 2nd edition

    What is needed and what is available are slightly two diferent things. CTelephony is slower in its notifications compared with ETel and yes, likely faster than the logs. There is however no indication that richasinha needs more than what the logs can offer and thus I'm unpleasantly "surprised" to see "out-of-the-box" solutions proposed as default ones
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  12. #12
    Registered User
    Join Date
    Sep 2009
    Posts
    7

    Re: get/intercept caller's number in S60 2nd edition

    Thanks a lot Mikaraento and Lucian.

    Actually i need to intercept the caller's number to be able to reject that call if needed. So, i guess taking the caller's number from Logs might be a bit late.

    Also, copying etelmm libs and headers from the A925 SDK might not be possible for me.

    I am just wondering how it has been done till now i.e. diplaying the caller's number without using etelmm libs from other sdks?

    Were these libs available in the sdk S60 2nd ed earlier and removed now?

    If yes, then is there any other way of tracing the number legitimately, will Nokia protected APIs be useful?

    I don't have issues with partnering with Symbian but then i don't know how to use Nokia Protected APIs and if at all they will be helpful for my requirement.

    Please help me out. thanks

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

    Re: get/intercept caller's number in S60 2nd edition

    The API is not public and ELET API needed symbian partnership for info you can look into symbianfoundation.org
    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]

  14. #14
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: get/intercept caller's number in S60 2nd edition

    I have been doing an app which was displaying callers picture in full screen and for S60 2nd Edition the only API I had reliably working it was the logs client. Still, it was fast enough. Why wouldn't it be fast enough for you too? The phone rings once then you have your info and terminate it. And the user also has an indication that there was a call but your app did its duty and saved him/her the trouble of answering that weird call. To me that sounds like good [enough] user experience.

    As for kkrish's comment about the Symbian Foundation that is not valid. Symbian Foundation is all about the future and the focus is on device creators using Symbian^3 or later releases to build their phones. You should not expect support and APIs from the Foundation when targeting existingin devices, certainly not when it comes to S60 2nd Edition. For those devices you should seek help from Nokia, the owner of the legacy Symbian releases.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  15. #15
    Registered User
    Join Date
    Sep 2009
    Posts
    7

    Re: get/intercept caller's number in S60 2nd edition

    Thanks Lucian,

    ur reply encourages me to see some way out.

    i will now try getting the number from log.

Similar Threads

  1. Can S60 2nd edition install intermediate VeriSign CA root?
    By qmei in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2009-05-28, 18:03
  2. Replies: 3
    Last Post: 2008-08-29, 10:21
  3. creating s60 2nd edition application launcher
    By puh_sk8@hotmail.com in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-01-09, 08:25
  4. Replies: 3
    Last Post: 2006-10-04, 22:44
  5. S60 2nd OR 3rd edition for new software development
    By patil_ruturaj in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-06-30, 09:30

Posting Permissions

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