04 2011 档案

摘要:symbian 全屏,网上找了找,好多,但好多也不是我要的效果,我要的全屏是可以保留 statusPane 或去掉 statusPane ,但要显示出自己绘制的 cba 来。网上说的都不能满足我要的效果,后来找到一兄弟的文章,具体在哪我也忘了,当时只是把代码拿过来了代码如下:void CMainContainer::HandleResourceChange( TInt aType ){const TRect& appRect = ((CAknViewAppUi*)iEikonEnv->AppUi())->ApplicationRect();TRect clRect = (( 阅读全文
posted @ 2011-04-26 21:02 zziss 阅读(354) 评论(0) 推荐(0) 编辑
摘要:之前做过静默安装,可是碰到过一个比较变态的问题至今没有解决,今天仔细看看了看,终于找出了原因。问题: 之前做静默安装的时候如果你要安装的是联网的程序,在安装过程中就会有联网提示弹出。解决方法: 在安装的时候设置这一项iOptions.iOCSP = SwiUI::EPolicyAllowed;//OCSP在线证书状态协议 是否履行下面贴上整个安装的设置吧.// 配置安装参数iOptions.iUpgrade = SwiUI::EPolicyAllowed;iOptions.iOCSP = SwiUI::EPolicyAllowed;//OCSP在线证书状态协议 是否履行iOptions.iI. 阅读全文
posted @ 2011-04-26 09:30 zziss 阅读(237) 评论(0) 推荐(0) 编辑
摘要:代码如下:#include <avkon.rsg>#include <eikbtgpc.h>#include <eikspane.h>//-----------------------------------------------------------------------------// CFullScreenAppAppUi::ConstructL()//-----------------------------------------------------------------------------//void CMyFullscreenA 阅读全文
posted @ 2011-04-24 18:29 zziss 阅读(226) 评论(0) 推荐(0) 编辑
摘要:适用版本S60 2nd Edition FP3, S60 3rd Edition本文将简述如何在Series60中绘制一个始终处于前端的图标提示符,实际效果如上图所示,无论是处于待机界面,菜单界面或者切换时,一个音符的小图标始终都可见。这么做可以为一些应用程序起到提示的作用,比如在一个IM软件中,可以用它来提示有未读的消息等。1.如何构建 以下的构建过程基于我提供的示例程序: 构建一个CIndicatorIcon类来表示这个提示图标,它是从CCoeControl继承而来。它的第二阶段构造函数ConstructL()如下所示: void CIndicatorIcon::ConstructL() 阅读全文
posted @ 2011-04-24 18:13 zziss 阅读(297) 评论(0) 推荐(0) 编辑
摘要:CRepository? Vals for backlight and screen-saver timeout - 2008-07-27 08:43 #1kibi1 View Profile View Forum Posts View Articles Registered User Join Date Mar 2003 Posts 24 Hi there I would like find an API to discover the current timeouts on the device for the backlight and the screen-saver. Basica 阅读全文
posted @ 2011-04-24 18:11 zziss 阅读(251) 评论(0) 推荐(0) 编辑
摘要:Symbian OS关于动画的绘制和处理基本上分为两大类,一类是客户端应用程序动画框架,一类是Window Server的插件动画。在介绍这两种动画前,我们先简单介绍一下精灵(sprite)的概念。精灵(sprite)精灵(sprite)是Window Server的概念范畴,Window Server支持两种类型的精灵,一种是常用的精灵-sprite,一种是用来作为光标(pointer cursor)。精灵是任意形状的位图,其在移动时无需程序对其后面的屏幕进行重画。Window Server之所以提供光标(pointer cursor)的支持,是因为在使用鼠标、手写笔时可以象使用一个指针设备 阅读全文
posted @ 2011-04-24 18:10 zziss 阅读(279) 评论(0) 推荐(0) 编辑
摘要:CEikButtonGroupContainer* cba = CEikButtonGroupContainer::Current();if (cba) { MEikButtonGroup* buttonGroup = cba->ButtonGroup(); for (TInt pos = 0; pos < 3; pos++) { TInt cmdId = buttonGroup->CommandId(pos); CCoeControl* button = buttonGroup->GroupControlById(cmdId); if (button &&am 阅读全文
posted @ 2011-04-24 17:59 zziss 阅读(139) 评论(0) 推荐(0) 编辑