Tuesday, September 16, 2008

fade background(dim BG)

following code can be deployed to fade background
drawableWindow()->FadeBehind(ETrue ); //place popup containers draw()
or
view's container->drawableWindow()->FadeBehind(ETrue ); // in view class

wrap text - Symbian S60

TBidiText* bidi = TBidiText::NewL(atext, 10); // atext - text to be displayed
// 10->no.of lines (reduce as much as possible)
// each line OS will take 8 bytes extra



bidi->WrapText(aRect.Width(), *iFont, NULL); // iFont (font reference )




TPtrC text = bidi->DisplayText();

note: tbiditext - inbuilt function

Wednesday, August 6, 2008

problem while porting to device

this link very helpful to sort out the problem while porting to device

http://wiki.forum.nokia.com/index.php/S60_SW_installer_troubleshooting

Things to be noted while changing UID3

1.Change in .mmp file
2.Change in reg.rss file
3. Change in pkg file
4. Application.cpp

has to change UID3 in the above files while changing the UID3