×
Namespaces

Variants
Actions

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

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Tested with
Devices(s): All S60 3rd Edition devices
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (16 Nov 2007)
Last edited: hamishwillee (14 Jun 2012)

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;
    ...
    }
  }
This page was last modified on 14 June 2012, at 08:02.
48 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×