Categories: Symbian C++ | E-Mail | Messaging | How To | Code Examples
This page was last modified 22:00, 15 July 2007.
Setting Default email and Active idle messaging plugin
From Forum Nokia Wiki
Default email: Default email account information is stored in KCRUidMceSettings repository using KMceSettingsDefaultAccount key. Value stored using that key is the id (TMsvId) of the default email account. Active idle messaging plugin: Active idle messaging plugin information is stored in KCRUidMceSettings repository using KMceSettingsAIMessagePluginFolder key. Value stored using that key is the id (TMsvId) of the mesaging entry that the plugin is connected to.
const TUid KCRUidMceSettings = {0x101F8F28}; const TUint32 KMceSettingsDefaultAccount = 0x00000001; const TUint32 KMceSettingsAIMessagePluginFolder = 0x00000004;
Usage: 1) Include Central Repository library:
LIBRARY CentralRepository.lib
2) Include Central Repository header:
#include <centralrepository.h>
3) Set Default email account and Active idle messaging plugin:
CRepository* repository = CRepository::NewL(KCRUidMceSettings); repository->Set( KMceSettingsDefaultAccount, idOfNewDefaultEmailEntry ); repository->Set( KMceSettingsAIMessagePluginFolder, repository->idOfNewDefaultEmailEntry );
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| err -1 while converting description to bitmap | liyingxia | General Symbian C++ | 9 | 2005-10-06 08:53 |
| Pb with taskList.FindApp | thspeck | Symbian User Interface | 1 | 2007-11-18 11:01 |
| Help with Tab Indicators in N70 + Carbide Ui | chie cosay | Themes/Carbide.ui | 9 | 2006-12-13 08:39 |
| problem with incomming-message-box | rmakyla | Symbian Networking & Messaging | 0 | 2006-01-24 01:45 |
| Using Active Object? | xcompass | General Symbian C++ | 9 | 2007-06-29 12:30 |
