×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Jul 2004
    Location
    Tampere, Finland
    Posts
    1

    How to use application specific skins?

    Is it possible to specify skin for single application in the code? If it is possible, how is it done?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144
    I think the phone selected skins are sort of global in side the phone. But anyway you could try to locate the skin file and reading the right images from it and using them as you wish.

    But then of course it would be hard to get the skin working on the system components, like navipanel etc.

    yucca

  3. #3
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    145
    jvet , you need to use the AknsUtils , AknsDrawUtils and other related observers to make things possible.


    bye
    dotcdotc

  4. #4
    Registered User
    Join Date
    May 2005
    Posts
    14
    Hi dotcdotc,

    I have had some success changing the various parts of the skin using code such as:

    MAknsSkinInstance* skin = AknsUtils::SkinInstance();

    CAknsItemDef* bgItemDef;
    _LIT(fileName, "c:\\iceskin.mbm");

    // Main pane
    bgItemDef = AknsUtils::CreateBitmapItemDefL(KAknsIIDQsnBgAreaMain, fileName, 0);
    skin->SetLocalItemDefL( bgItemDef );

    However, I would really like to override the ENTIRE skin used by my app.

    Have you been able to do this? I cannot see how to do it with the APIs available.

    Steve

  5. #5
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    145
    hi steve,

    finally, got problem solved, that can b seen on following URL.

    http://discussion.forum.nokia.com/fo...threadid=61131


    Now, I am able to draw the Skin on MainPane (thanks for your help). At present I am extending my efforts to StatusPane and especially ControlPane.

    TAknsItemID is still a mistry, as I do not know how should I use it.

    well, I'll share the result here as soon as I get it :)

    thankyou very much,
    dotcdotc

  6. #6
    Regular Contributor
    Join Date
    Aug 2005
    Location
    India
    Posts
    50

    Re: How to use application specific skins?

    Hi dotcdotc,

    Are u able to apply the skin on the status pane?

    regards,
    Santosh Shetty

  7. #7
    Registered User
    Join Date
    Sep 2008
    Posts
    3

    Re: How to use application specific skins?

    Hi,

    Did you solve the problem with application specific skin with S60 FP1?
    Please let me know if you have extended it to Status and Control Pane?

    Thanks


    Quote Originally Posted by dotcdotc View Post
    hi steve,

    finally, got problem solved, that can b seen on following URL.

    http://discussion.forum.nokia.com/fo...threadid=61131


    Now, I am able to draw the Skin on MainPane (thanks for your help). At present I am extending my efforts to StatusPane and especially ControlPane.

    TAknsItemID is still a mistry, as I do not know how should I use it.

    well, I'll share the result here as soon as I get it :)

    thankyou very much,
    dotcdotc

  8. #8
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,347

    Re: How to use application specific skins?

    Please let me know if you have extended it to Status and Control Pane?
    See in Wiki - Changing the skin of the status pane

Posting Permissions

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