theme and SDK v3 emulator

Login to reply to this topic.
Fri, 2006-03-10 10:54
Joined: 2005-02-21
Forum posts: 47
Hi,
our application tries to override a theme provided by phone (ie. to achieve personal look and feel). To do that we use following code:
--------------
_LIT(fileName, "c:\\Climber.mbm");
CAknsItemDef *bgItemDef = AknsUtils::CreateBitmapItemDefL(, fileName, index);
MAknsSkinInstance* skin = AknsUtils::SkinInstance();
skin->SetLocalItemDefL( bgItemDef );
--------------

It works for previous SDK versions (ie. SDK v2.x) but not for new SDK v3. Although the API is same and should basically work in a same way for v3 too. Also, no errors, panics and whatsoever is generated either. Just no custom theme is applied.

Anyone knows a solution here?

best regards,
Ahti.
Edit/Delete Message
  • Login to reply to this topic.