×
Namespaces

Variants
Actions

Setting Default email and Active idle messaging plugin

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: bharatuppal (15 Jul 2007)
Last edited: hamishwillee (14 Jun 2013)
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 );
This page was last modified on 14 June 2013, at 09:57.
44 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.

×