×
Namespaces

Variants
Actions

Talk:How to Open SMS or MMS Editor

From Nokia Developer Wiki
Jump to: navigation, search
{{{width}}}
19 Sep
2009
Article Review by User:FireSwarog (20090919)

This example contains code snippet which shows how to run SMS/MMS editor for creating and sending new messages.

The realization is based on SenUi feature. You could insert this feature in your project. There are a lot of cases when such feature is really necessary. For example you could use it in your own messaging applications.


For compile I must use CEikonEnv::Static() instead of iEikonEnv

CRichText* richText = CRichText::NewL(CEikonEnv::Static()->SystemParaFormatLayerL(), CEikonEnv::Static()->SystemCharFormatLayerL());


To link in a Qt S60 project add the following line in your .pro file

LIBS += -lsendui -letext