×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    4

    iLine.NotifyIncomingCall can't call runl

    Hi, everyone,
    I write a program to notify the incoming calls on the phone, but when I run the program,RunL isn't called when call incomes, who can tell me why? The codes are as follows:

    User::LeaveIfError( iTelServer.Connect() );
    User::LeaveIfError( iTelServer.LoadPhoneModule(_L("phonetsy.tsy")) );
    User::LeaveIfError(iTelServer.GetPhoneInfo(0, phoneInfo));
    User::LeaveIfError(iPhone.Open(iTelServer, phoneInfo.iName));
    User::LeaveIfError(iPhone.EnumerateLines(iNumberLines));
    if (iNumberLines < 1)
    {
    User::Leave(KErrNotFound);
    }

    for (TInt a = 0; !FoundLine && a < iNumberLines; a++)
    {
    User::LeaveIfError(iPhone.GetLineInfo(a, iLineInfo));
    if (iLineInfo.iLineCapsFlags & RLine::KCapsData)
    {
    FoundLine = ETrue;
    }

    }
    iLine.Open(iPhone, iLineInfo.iName);
    iLine.NotifyIncomingCall(iStatus, iCallName);
    SetActive();

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

    Re: iLine.NotifyIncomingCall can't call runl

    have you tried using CTelephony for this purpose ?

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    4

    Re: iLine.NotifyIncomingCall can't call runl

    Thank you for your reply.
    I have to make a datacall, but CTelephony can't do that.

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

    Re: iLine.NotifyIncomingCall can't call runl

    Hi,

    if u are working on 3rd sdk then check the capability in you mmp file and in certificates.
    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]

  5. #5
    Registered User
    Join Date
    Jan 2008
    Posts
    4

    Re: iLine.NotifyIncomingCall can't call runl

    Hi,
    I have got publisher ID from Nokia, and capability in use is NetworkControl.My phone's version is S60 3rd fp1

  6. #6
    Registered User
    Join Date
    Aug 2007
    Posts
    2

    Re: iLine.NotifyIncomingCall can't call runl

    I have got the reason. NotifyIncomingCall need the capability of ReadDeviceData

Similar Threads

  1. Replies: 8
    Last Post: 2008-12-03, 02:25
  2. Replies: 7
    Last Post: 2007-10-26, 09:33
  3. Replies: 2
    Last Post: 2006-08-30, 21:33
  4. Call RunL without Tel event
    By Bill_Murray in forum Symbian
    Replies: 6
    Last Post: 2006-04-07, 21:19
  5. Error while accepting an incoming call
    By yogesh14 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2006-03-23, 03:55

Posting Permissions

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