×
Namespaces

Variants
Actions

How to change the Wallpaper

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: User:Kanu123 (30 Jun 2007)
Last edited: hamishwillee (26 Jul 2012)
_LIT(kImgKey, "IdleImg");
_LIT(kIndexKey, "IdleIndex");
_LIT(kDimIndexKey, "DimIndex");
_LIT(kPathKey, "IdlePath");
_LIT(kPathValueKey, "c:\\system\\data\\backgroundimage.mbm");
 
RSharedDataClient sharedClient;
CleanupStack::PushL(&sharedClient);
const TUid idleUid = {0x10005a32};
if(sharedClient.Assign(idleUid)==KErrNone)
{
sharedClient.SetInt(kImgKey, 1);
sharedClient.SetInt(kIndexKey, 0);
sharedClient.SetInt(kDimIndexKey, 1);
sharedClient.SetString(kPathKey, kPathValueKey);
}
sharedClient.Close();
This page was last modified on 26 July 2012, at 06:20.
65 page views in the last 30 days.