Namespaces
Variants
Actions

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

Jump to: navigation, search
Archived.png
Archived: 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

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 11:02.
293 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved