Discussion Board
-
7650 - go back, close my app not closing the container app
2002-12-03, 16:01
#1
Registered User
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.
-
RE: 7650 - go back, close my app not closing the container app
2002-12-05, 09:58
#2
Nokia Developer Moderator
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
-
Forum Rules