×
Namespaces

Variants
Actions
Revision as of 16:40, 30 June 2007 by Kanu123 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to change the Wallpaper

From Nokia Developer Wiki
Jump to: navigation, search
_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();
62 page views in the last 30 days.
×