application specific skin

Login to reply to this topic.
Sun, 2008-03-30 19:15
Joined: 2008-03-30
Forum posts: 3

I want my application to use a specific skin; a 1x1 white bitmap file defines the skin. I create the skin in the constructor of my view container constructor as follows:

MAknsSkinInstance* aSkin = AknsUtils::SkinInstance();

TRAPD(error, aSkin->SetLocalItemDefL(AknsUtils::CreateBitmapItemDefL(KAknsIIDQsnBgAreaControl, KBitmapFile, EMbmBitmapSkin)));

On the symbian s60 r3 emulator this works; the cba background is white. When I try to run the self-signed application on Nokia N80, SelLocalItemDefL leaves with KErrArgument (KAknsIIDQsnBgAreaControl out of range).

Any reason why this should not work on Nokia N80 when it runs in the emulator?

Olav

  • Login to reply to this topic.