is it possible and how to open a SMS message whose mtm is different than KUidMsgTypeSMS and therefore belonging to another thirdparty MTM?
I have tried for example the following (CleanupStack operations left out for simplicity)
CBaseMtm* clientMtm = mtmRegistry->NewMtmL( KUidMsgTypeSMS );
clientMtm->SwitchCurrentEntryL( myMsgId );
CBaseMtmUi* ui = pMtmUiReg->NewMtmUiL( *clientMtm );
ui->BaseMtm().SwitchCurrentEntryL( myMsgId );
CMsvOperation *operation = ui->OpenL( aStatus );
However the last command doesn't work and it throws Panic SMSMtmUI 2.
And if instead I use ViewL instead, it throws Panic SMSMtmUI 21.
Can someone please enlighten me on this?
I was also thinking to launch directly the SMSViewer, but I don't know what parameters should be passed (surely the TMsvId but how?)