connect to SMSEditor using RAknAppServiceBase::ConnectToChainedAppL()

Login to reply to this topic.
Wed, 2007-10-17 09:38
Joined: 2007-10-17
Forum posts: 2

Hi all!
I have been discovering TextMTM example and found out that opening editor for custom message type is done within the following code:

void CTxtMtmEditorOperation::LaunchEditorL()
    {
          TEditorParameters aParams;
   
    aParams.iEntry = iId;
                
        if (iMode==EEdit) aParams.iOpenedForEditing=ETrue;
                else aParams.iOpenedForEditing=EFalse;
       
           TUid uid = TUid::Uid(0xA00058BD);
      
        iService.ConnectChainedAppL(uid); )
                  
        iMonitor = CApaServerAppExitMonitor::NewL(
            iService,
            *this,
            CActive::EPriorityStandard);
        iProgress.iState=TTxtMtmEditorOpProgress::EEditorLaunched;    

       
        //iService.ConnectChainedAppL( uid );
       
    iService.OpenL( aParams);
    }

I want to start Native SMS Editor app instead. I found that native app has UID 0x100058bc. But just replacing UIDs cause the E32User-CBase 46 panic at
iService.ConnectChainedAppL(uid)Eye-wink

Can anybody tell me, if it is possible to launch native SMSEditor in this situation? I need to implement standart sms functionality except one thing - i need not to send sms.


Thu, 2008-03-27 11:05
Joined: 2007-12-12
Forum posts: 2
WEB browse

hi
Please, advice me how to get uid for standart programs like WEB browser


Windows Mobile, Symbian C++, developer

Thu, 2008-03-27 11:12
Joined: 2007-12-12
Forum posts: 2
Re: connect to SMSEditor using

use this function
IMPORT_C void ActivateViewL(const TVwsViewId &aViewId);

use AppUi()->ActivateViewL(TVwsViewId(TUid::Uid(Ud1), TUid::Uid(EPositionTracerSettingItemListViewId)));

unfortunatly I don't remember UId's


Windows Mobile, Symbian C++, developer

Thu, 2008-03-27 11:23
Joined: 2007-10-17
Forum posts: 2
Re:
  • Login to reply to this topic.