Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User nanara's Avatar
    Join Date
    Sep 2006
    Posts
    34
    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

  2. #2
    Super Contributor Priju Jacob Paul's Avatar
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156
    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

  3. #3
    Super Contributor ivey's Avatar
    Join Date
    Jun 2006
    Location
    Moscow, Russia
    Posts
    803
    Hi,

    AknsWallpaperUtils class should be used for it. Check this thread:
    http://discussion.forum.nokia.com/fo...WallpaperUtils
    Regards,
    ivey

  4. #4
    Registered User nanara's Avatar
    Join Date
    Sep 2006
    Posts
    34
    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. "
    /*
    - 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();
    }
    Thank you!
    Mobile Software Developer

    C++ for Symbian OS S60 2nd/3rd Edition SDK

    Multimedia Process

  5. #5
    Super Contributor Priju Jacob Paul's Avatar
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156
    Did u try what Ivey has suggested, as i have not worked with CSharedDataI im not able to give a explanation.

Similar Threads

  1. When can you set the screensaver's Refresh Timer Value?
    By azhrei in forum Symbian Tools & SDKs
    Replies: 6
    Last Post: 2008-08-23, 10:12
  2. Set Wallpaper
    By geekzy in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2006-09-26, 08:51
  3. Set the program not to close
    By kennykf in forum Symbian C++
    Replies: 1
    Last Post: 2006-03-07, 18:39
  4. Replies: 0
    Last Post: 2006-01-20, 06:53
  5. how to set the wallpaper to full screen?
    By dodoro in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved