How to change the Wallpaper
_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.
91 page views in the last 30 days.
(no comments yet)