Archive for 11月 18th, 2007

如何使Symbian程序一直全屏显示

一般而言有如下几种方法:

1,在Container的ConstructL中,调用SetExtentToWholeScreen ();

缺点是一按下“选项”,StatusPane和CBA又出来了。

2,在View的DoActivateL中,调用AppUi()->ApplicationRect()。

同样有如上的问题。

iMobile517MainContainer = CMobile517MainContainer::NewL(AppUi()->ApplicationRect(), NULL, this );

3,通过隐藏Status Pane和CBA,这种方法比较灵光(需要和2同时使用)!

在Container的ConstructL函数中调用:

 CEikStatusPane* statusp = iEikonEnv->AppUiFactory()->StatusPane();
 if(statusp) statusp->MakeVisible(EFalse);
iEikonEnv->AppUiFactory()->Cba()->MakeVisible(EFalse);

Popularity: 8% [?]

Add comment 11月 18th, 2007

如何修改程序界面图标

使用的IDE是Carbide.C++ v1.2 ,SDK是S60 3rd FP1(MR)

1,首先做一个svg类型的图标,可以用Photoshop,Illustrator, inkscape等。

2,将svg类型装换成svg-t,工具由SDK提供

C:\Symbian\9.2\S60_3rd_FP1\S60Tools\svg2svgt\installer

3,转换好后,将其覆盖掉工程中gfx文件夹下的qgn_menu_PROJECT.svg

4,重新生成,图标已经改变了!

Popularity: 8% [?]

Add comment 11月 18th, 2007


标签

Calendar

11月 2007
« Oct   Dec »
 1234
567891011
12131415161718
19202122232425
2627282930  

Posts by Month

Posts by Category