×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    24

    Question Two notifications

    This are my 2 notifications

    iLine.NotifyIncomingCall(iStatus, iCallName);
    iLine.NotifyMobileLineStatusChange(iStatus, iLineStatus);

    if I receive notification on LineStatusChange I call
    NotifyIncomingCallClose()

    If I receive notification on IncomingCall I call
    NotifyStatusChangeCancel()

    but after I try to add a new notification on the line I just crashes !

    Any help will be greatily appreciated, is there a example somewhere regarding this type of calling ?

    Regards,

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    24

    Re: Two notifications

    To detail this in simple words.

    I have a conected call, I need to watch for the call getting disconected AND for a new call being received, so I figured I need 2 notifications.

    Anybody has a suggestion on this ?

  3. #3
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Two notifications

    You won't be able to do that because you are using the same flag (iStatus).

    One way to solve the problem is by handling one notification at a time. For example, before requesting for notification event, check the status of RCall. If it is in the idle status, then you use NotifyIncomingCall(). If not in the idle state, then use NotifyStatusChange().

    Antony
    Antony Pranata
    http://www.antonypranata.com/
    http://www.s60tips.com/

  4. #4
    Registered User
    Join Date
    Aug 2006
    Posts
    24

    Re: Two notifications

    Thanks for you replay, seems logical what you are saying but I am facet with this probleme.

    Let's say that at the moment I am checking the RCall status the the call is in progress than I go wait for a incoming call that will never come, the Call end's but I don't get notified because I am waiting for a incoming call.
    You see my point here, I need both notifications in the same time.

    There must be a real case of this somewhere out there, can someone please point me to a example.

  5. #5
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Two notifications

    Sorry, I still don't get it. If the phone is in progress, you should get the notification if you RCall::NotifyStatusChange() before that.

    Do you mean you want to wait incoming call from the second line?

    Antony
    Antony Pranata
    http://www.antonypranata.com/
    http://www.s60tips.com/

Similar Threads

  1. Turning off Unsolicited SMS notifications from the Nokia SMSC
    By alanskinner in forum General Messaging
    Replies: 0
    Last Post: 2003-07-22, 16:23
  2. Handling multiple MMS notifications
    By muralimohank in forum General Messaging
    Replies: 0
    Last Post: 2003-06-22, 08:56
  3. Soft Notifications API
    By jjassal in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-03-31, 14:32
  4. Incoming calls notifications on GPRS networks
    By EranNoyman in forum Symbian
    Replies: 0
    Last Post: 2002-11-18, 09:59
  5. 7210 Simulator - MMS Notifications or MMS messages ?
    By paulkeogh in forum General Messaging
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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