Note: This example is designed to work with Techview and there is no guarantee that it will work on other interfaces
The txti project demonstrates a UI Data MTM. The central class is CTxtiMtmUiData , derived from the User Interface MTM base class CBaseMtmUiData .
txti implements the following MTM functionality:
Click on the following link to download the example: TextMTM.zip
Click: browse to view the example code.
The files reproduced here are the main files contained in the examples directory. Some extra files may be needed to run the examples, and these will be found in the appropriate examples directory.
Icons are provided for messages, folders, and services, for use in the message browser. They are built into a Symbian platform multi-bitmap file txti.mbm . ContextIcon() selects the correct icon depending on the entry context.
Menu specifications for the two MTM-specific operations, Refresh and Export text to file, are provided in the resource r_textud_function_array . OperationSupportedL() determines whether these operations are appropriate to the entry context.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.