Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor asdfghjkl_asdfghjkl's Avatar
    Join Date
    Jun 2006
    Posts
    78
    hello
    how get phone number of incoming call
    How use RCall or RLine To get phone number of incomng call

  2. #2
    Super Contributor eswar_illuri's Avatar
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704
    Hi,

    Use following code,

    Code:
    RMobileCall m_currentCall;
    	
    	m_currentCall.OpenExistingCall(iLine, iIncomingCallName);
    
    	RMobileCall::TMobileCallInfoV1 callInfo;
    	RMobileCall::TMobileCallInfoV1Pckg callInfoPckg(callInfo);
    	m_currentCall.GetMobileCallInfo(callInfoPckg);
                TBuf<50> aCallNumber;
    	aCallNumber.Copy(callInfo.iRemoteParty.iRemoteNumber.iTelNumber);
    regards,
    eswar

  3. #3
    Regular Contributor asdfghjkl_asdfghjkl's Avatar
    Join Date
    Jun 2006
    Posts
    78
    Hi
    But I Cannot find this class
    I use S60_2nd_FP2 and my mobile is 6630

  4. #4
    Nokia Developer Champion kiran10182's Avatar
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,240
    Hi,

    Quote Originally Posted by asdfghjkl_asdfghjkl
    Hi
    But I Cannot find this class
    I use S60_2nd_FP2 and my mobile is 6630
    I think it's in Etelmm.h. And the Etelmm.h copy you have with your SDK might be a cut down version of the original one. So you may not find all the functions in your copy.
    And some etel stuffs do not come with public API.

    Anyways you can click on the following:
    http://zerogravity.narod.ru/symbian/...elmm_uiq21.zip

    Regards.
    Kiran.

  5. #5
    Regular Contributor asdfghjkl_asdfghjkl's Avatar
    Join Date
    Jun 2006
    Posts
    78
    Hello eswar_illuri
    I Use this code but when mobile ringing not work and dont return call number(callerid) please help me.

    and special tanks kiran10182 for help me

  6. #6
    Super Contributor eswar_illuri's Avatar
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704
    Hi,

    Create One AO, check the following code...
    Code:
    TBool CCallManager::WaitIncomingCall()
    {
    	iNewCallName = _L("");	iIncomingCallName = _L("");
    	iLine.NotifyIncomingCallCancel();
    	
    	Cancel();
    	
    	iLine.NotifyIncomingCall(iStatus, iIncomingCallName);
    	
    	iState = EWaitIncomingCall;
    	SetActive();
    	return ETrue;
    }
    and in runl function check the iState and retrieve the mobile number.

    regards,
    eswar

  7. #7
    Nokia Developer Champion kkrish's Avatar
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,029
    void ListenL()
    {
    iLine.NotifyIncomingCall(iIncomingStatus,iName);
    User::WaitForRequest(iIncomingStatus);

    RMobileCall::TMobileCallInfoV1 callInfo;
    RMobileCall::TMobileCallInfoV1Pckg callInfoPckg(callInfo);
    User::LeaveIfError(iCall.GetMobileCallInfo(callInfoPckg));
    telNumber = callInfo.iRemoteParty.iRemoteNumber.iTelNumber;
    }

  8. #8
    Regular Contributor asdfghjkl_asdfghjkl's Avatar
    Join Date
    Jun 2006
    Posts
    78
    Hi
    Tanks eswar_illuri

Similar Threads

  1. How to get the incoming call number before ringing
    By sriramadasu in forum Symbian C++
    Replies: 1
    Last Post: 2006-06-17, 11:41
  2. HELP - RCall - Dial voice number crash
    By cmryan in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-02-13, 14:53
  3. incoming phone call with ETel?
    By engrsanjiv in forum Symbian C++
    Replies: 1
    Last Post: 2002-10-02, 12:10
  4. Can I get the number of an incoming phone call on N9210?
    By Igor_Pchelko in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2002-09-19, 09:58
  5. Replies: 0
    Last Post: 2002-09-17, 06:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved