Symbian待机界面UID

 

Amit Kankani's Forum Nokia Blog

Inconsistent standby screen UID

amitkankani | 27 October, 2008 15:38

Hi all,

this is a very trivial issue I have faced....... and its regarding the UID of standby screen, or the phone default screen.

The problem I noticed is that the UIDs are different for different versions, and worse yet, different for different Feature packs too !!! and to add to that, no constants define which could have easily taken care of this....

well let me get into details:

The UID of standby screen (the process is called Phone) on 2nd edition is: 0x100058b3

The UID of standby screen (the process is called Standby Mode) on 3rd edition and 3rd edition FP1 is: 0x101fd64c

The UID of standby screen (the process is called Standby Mode) on 3rd edition FP2 is:0x102750F0

and I don't yet know what it is for 5th Edition.

So now if anyone wants to use the UID of standby screen, then one needs to define these with appropriate macros and use them. May be something like this:

#ifdef __SERIES60_3X__
const TUid KUidStandBy = { 0x101fd64c }; // For 3rd Edition
const TUid KUidStandBy_FP2 = { 0x102750F0 }; // For 3rd edition Emulator and FP2 devices
#else // #ifdef __SERIES60_3X__
const TUid KUidStandBy = { 0x100058b3 }; // For 2nd Edition
#endif // #ifdef __SERIES60_3X__

and then use it... 

It would be much better if there was a constant defined by Symbian headers which could be used, so that there wouldn't be any problems like this .....

Hope Symbian does this from next version of their SDKs, or have already done it on 5th Edition ? I don't know about this on 5th Edition, probably some of you could comment....

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值