×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    18

    7650 - go back, close my app not closing the container app

    Hi all,
    When you open some message from inbox in Messaging app, it invokes some other app that can handle this type of file,

    e.g. Notes for text files. Then if you press Back button, Notes app is closed and it goes back to inbox. I tried to do it but

    always when my app closes, it closes Messaging app, too. Does anybody know how to do it? I tried to :

    1) CAknAppUi::HandleCommandL(EAknSoftkeyBack);
    2) if (iDoorObserver)
    iDoorObserver->NotifyExit(MApaEmbeddedDocObserver::ENoChanges);
    3) if (ContainerAppUi())
    ContainerAppUi()->HandleCommandL(EAknSoftkeyBack);
    4) if (ContainerAppUi())
    ContainerAppUi()->HandleCommandL(EEikBidCancel);
    5) if (ContainerAppUi())
    {
    CEikButtonGroupContainer* cba = ((CAknAppUi*)ContainerAppUi())->Cba();
    TInt commandId = cba->ButtonGroup()->CommandId(0); //I tried also 1
    ContainerAppUi()->HandleCommandL(commandId);
    }
    6) CAknEnv::ExitForegroundAppL();
    and of course
    7) Exit();

    Please help me.

    G.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Tampere, Finland
    Posts
    1,115

    RE: 7650 - go back, close my app not closing the container app

    Hi,

    Moved to the Symbian section.

    Best regards,
    V / Forum Nokia

Posting Permissions

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