Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 07:49, 16 November 2007.

TSS000783 - Adding 3rd party MTM in Contacts application's Create message option menu and to the New Msg. CBA option

From Forum Nokia Wiki


ID TSS000783 Creation date November 16, 2007
Platform S60 3rd Edition Devices All S60 3rd Edition devices
Category Symbian C++ Subcategory Messaging, MTM

Description

A 3rd party MTM can be made to appear in the Contacts application (in the Create message menu) and in the New message CBA option.


Solution

MTM has to support the KUidMsvMtmQuerySupportEditor capability in order to appear in the Contacts application menu and under New Message.

 //Function to support editors
 #define KUidMsvMtmQuerySupportEditor       0x101FD692

The following piece of code demonstrates how to use the KUidMsvMtmQuerySupportEditor capability in the implementation of UI Data MTM, QueryCapability() function:

TInt CMyMtmUiData::QueryCapability(TUid aCapability, TInt& aResponse) const
  {
  aResponse = KErrNotSupported;
  ...
  switch( aCapability.iUid )
    {
    ...
    case KUidMsvMtmQuerySupportEditor:
      aResponse = KErrNone;
      break;
    ...
    }
  }
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZmessagingQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZTechnicalSolutionQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX