Hi!
I want to know the way to set wallpaper by my program.
Thank you.
Hi!
I want to know the way to set wallpaper by my program.
Thank you.
Mobile Software Developer
C++ for Symbian OS S60 2nd/3rd Edition SDK
Multimedia Process
you may need to reverse engg commonengine.lib you would be able to use CSharedDataI class.
probably this link tell you how to use CSharedDataI
http://mikie.iki.fi/lxr/source/Conte...LogView.cpp?v4
and also do search this forum using this class name.
Priju
Hi,
AknsWallpaperUtils class should be used for it. Check this thread:
http://discussion.forum.nokia.com/fo...WallpaperUtils
Regards,
ivey
Thank you for Forum Nokia Champions help!
I found CSharedDataI class, but what do i do now?
How to use CSharedDataI class?
Help me step and step detaily!
Please tell me ! Is that true ?
"SharedDataClient must be replace to CSharedDataI in the following code. "
Thank you!/*
- SharedDataClient.h
- Calypso\SharedDataKeys.h
- Calypso\SystemWarningLevels.hrh
The Calypso directory isn't used in Sendo,
the files are found in the /epoc32/include/ dir, but you need to copy to the
/epoc32/include/Calypso folder on the SDK you're using.
Need to link to CommonEngine.lib.
*/
#include <SharedDataClient.h>
_LIT(kIdleImgKey, "IdleImg");//This keys must be used like here?
_LIT(kIdleIndexKey, "IdleIndex");
_LIT(kDimIndexKey, "DimIndex");
_LIT(kIdlePathKey, "IdlePath");
_LIT(kIdlePathValueKey, "c:\\system\\data\\backgroundimage.mbm");
void CMyClass::UpdateWallpaper()
{
RSharedDataClient c;
User::LeaveIfError(c.Connect());
const TUid idleUid = {0x10005a32};
if(c.Assign(idleUid)==KErrNone)
{
c.SetInt(kIdleImgKey, 1);
c.SetInt(kIdleIndexKey, 0);
c.SetInt(kDimIndexKey, 1);
c.SetString(kIdlePathKey, kIdlePathValueKey);
}
c.Close();
}
Mobile Software Developer
C++ for Symbian OS S60 2nd/3rd Edition SDK
Multimedia Process
Did u try what Ivey has suggested, as i have not worked with CSharedDataI im not able to give a explanation.