×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Aug 2004
    Location
    France
    Posts
    124

    Status pane for incoming calls

    Hello,

    I would like to know how to change the status pane during an incoming call. In fact, my application starts at the beginning of an incoming call, but I cannot find a way to change the display in the status pane.

    I tried this code:

    TBuf<20> Message;
    _LIT(KTxt,"hello");
    Message.Copy(KTxt);
    CEikStatusPane* sp = StatusPane();
    iNaviPane = (CAknNavigationControlContainer *)sp->ControlL(TUid::Uid(EEikStatusPaneUidNavi));
    iNaviDecorator = iNaviPane->CreateMessageLabelL(Message);
    iNaviPane->PushL(*iNaviDecorator);


    It works in all contexts (I think) but not when the application is triggered by an incoming call.


    Thank you very much for your answers.

  2. #2
    Regular Contributor
    Join Date
    Aug 2004
    Location
    France
    Posts
    124
    Someone can help me ?

  3. #3
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Bangalore,India
    Posts
    306
    It actually changes status-pane content. But while in call, ur app runs in background and hence u can't see the changes u made through code. I dont know how to make ur app in foreground while there is an incoming call.
    I am not sure if it is possible

  4. #4
    Regular Contributor
    Join Date
    Aug 2004
    Location
    France
    Posts
    124
    Thank you for your reply,

    but my application is in foreground while there is an incoming call, but I cannot change the status pane display.

    I don't know how to do it.

  5. #5
    Registered User
    Join Date
    Jul 2005
    Posts
    5
    Dear bernie31,
    plz, tell me how to set my application to foreground when there is an incoming call.

    thank you very much

    Hakim

  6. #6
    Regular Contributor
    Join Date
    May 2004
    Location
    Melbourne, Australia
    Posts
    75

    Re: Status pane for incoming calls

    Originally posted by bernie31
    Hello,

    I would like to know how to change the status pane during an incoming call. In fact, my application starts at the beginning of an incoming call, but I cannot find a way to change the display in the status pane.

    I tried this code:

    TBuf<20> Message;
    _LIT(KTxt,"hello");
    Message.Copy(KTxt);
    CEikStatusPane* sp = StatusPane();
    iNaviPane = (CAknNavigationControlContainer *)sp->ControlL(TUid::Uid(EEikStatusPaneUidNavi));
    iNaviDecorator = iNaviPane->CreateMessageLabelL(Message);
    iNaviPane->PushL(*iNaviDecorator);


    It works in all contexts (I think) but not when the application is triggered by an incoming call.


    Thank you very much for your answers.

    Hi
    Are you calling DrawNow after iNaviPane->PushL?

    cheers,
    a.

  7. #7
    Regular Contributor
    Join Date
    Aug 2004
    Location
    France
    Posts
    124
    Thank you,

    yes I call DrawNow() fonction :


    CAknTitlePane* TitlePane;
    TitlePane = (CAknTitlePane *)sp->ControlL(TUid::Uid(EEikStatusPaneUidTitle));
    TitlePane->SetTextL(HDescription->Des());
    delete HDescription;

    TitlePane->DrawNow();


    I don't know how to make it

  8. #8
    Regular Contributor
    Join Date
    Nov 2006
    Posts
    98

    Re: Status pane for incoming calls

    Quote Originally Posted by bernie31
    Thank you,

    yes I call DrawNow() fonction :


    CAknTitlePane* TitlePane;
    TitlePane = (CAknTitlePane *)sp->ControlL(TUid::Uid(EEikStatusPaneUidTitle));
    TitlePane->SetTextL(HDescription->Des());
    delete HDescription;

    TitlePane->DrawNow();


    I don't know how to make it



    Hi,

    Even i Want to change staus pane for the incoming calls. Did Anybody succeded in this??

Posting Permissions

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