×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Delhi, India
    Posts
    285

    Question how to change wallpaper

    i want to change wallpaper of my application programatically, example code is given at the link http://wiki.forum.nokia.com/index.php/Change_Wallpaper

    i.e.

    _LIT(KWallpaperImage, "c:\\data\\images\\mywallpaper.jpg");
    AknsWallpaperUtils::SetIdleWallpaper(KWallpaperImage, iCoeEnv);

    but i am unable to place this code in my program. how and where to place it.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: how to change wallpaper

    Anywhere you would want to do the task, one propable place would be the command handling function in your Appui class.

  3. #3
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Delhi, India
    Posts
    285

    Re: how to change wallpaper

    i placed it in constructL() of Appui, but the gif image can't get displyed in background.

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    98

    Re: how to change wallpaper

    I think gif not supported, convert it to jpg and try again.

  5. #5
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Delhi, India
    Posts
    285

    Re: how to change wallpaper

    actually i have to place animated image in background what to do for that?

  6. #6
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: how to change wallpaper

    Can not do with any API, you would need to construct your own application to handle the animation, and there are plenty o small problems, so I would start with some more easier project, and then go to harder ones later.

  7. #7
    Regular Contributor
    Join Date
    Mar 2007
    Location
    "On a b'ful lil palnet called EARTH belongs wid Galaxy named MilkyWay in Universe"
    Posts
    402

    Post Re: how to change wallpaper

    Quote Originally Posted by symbianyucca View Post
    Can not do with any API, you would need to construct your own application to handle the animation, and there are plenty o small problems, so I would start with some more easier project, and then go to harder ones later.
    Hi Yucca. I saw a problem on NewLc.com.. Here is the link. http://www.newlc.com/topic-18689 where Eric Bustarret is suggested same function which is chandra using for .gif too.. Only limitation is 3rd edition.. But in 3rd edition wheni tried once it was only showing static 1st frame of .GIF not animated.. can u shed some light on this,,
    ===With Symbian===
    "Something Has Survived..!!!"

  8. #8
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: how to change wallpaper

    It is propably meant for showing static image (without animation), so it could indeed read the first frame, I don't have too deep knowledge on that particular API, but I would assume that it would accept any known image format and read the first (usually only) frame into the background.

Similar Threads

  1. Change mobile phone wallpaper
    By purian in forum General Development Questions
    Replies: 4
    Last Post: 2008-06-30, 08:40
  2. Change wallpaper from application
    By etamburini in forum Symbian
    Replies: 5
    Last Post: 2005-11-17, 10:26
  3. change wallpaper
    By pic_sarun in forum Symbian
    Replies: 1
    Last Post: 2004-10-21, 08:28
  4. Replies: 3
    Last Post: 2004-01-23, 09:53
  5. How do i change the wallpaper on S60.
    By worreour in forum Symbian
    Replies: 1
    Last Post: 2004-01-05, 05:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •