Trick:Make use of HAL class(Symbian)
来源:互联网 发布:mac版本pp助手 编辑:程序博客网 时间:2024/05/22 11:59
This class is used to get and set miscellaneous device-specific information and state,eg machine id,avaible runtime RAM etc
If we want to distinguish whether the current handset is P900 or P800,use
TInt MachineUid = 0;
HAL::Get(HALData::EMachineUid, MachineUid);
then distinguish using MachineUid.
P800: 0x101F408B
P900: 0x101FB2AE
P910: 0x10200AC6
Notes:You have to link with hal.lib.
For more depth,drill into header files:HAL.h and HAL_data.h
If we want to distinguish whether the current handset is P900 or P800,use
TInt MachineUid = 0;
HAL::Get(HALData::EMachineUid, MachineUid);
then distinguish using MachineUid.
P800: 0x101F408B
P900: 0x101FB2AE
P910: 0x10200AC6
Notes:You have to link with hal.lib.
For more depth,drill into header files:HAL.h and HAL_data.h
- Trick:Make use of HAL class(Symbian)
- Trick:How to use cmwap to access internet(Symbian)
- Trick:Checking the Contents of Descriptors in MSVC6(Symbian)
- Make best use of our tools
- UGUI Make Use Of Grid Layout Group
- invalid use of imcomplete type 'class QKeyEvent'
- invalid use of incomplete type 'class QWidget'
- note : make a class, use wininet api upload http file
- Trick:Auto start it at the end of installing an application(Symbian)
- Question 33: How can a C++ developer use the placement new syntax to make new allocate an object of class SomeClass at a particu
- Trick:Incoming call notification(Symbian)
- c++ const class trick
- NDoc: How to Make Good Use of Your XML Comments?
- NDoc: How to Make Good Use of Your XML Comments?
- NDoc: Make good use of your XML Comments.
- Make Cool Use of Windows Remote Desktop In XP
- NDoc: How to Make Good Use of Your XML Comments?
- Regular Expression in C# - How to make use of Expresso
- Framework 类库的事件编程
- Internet Explorer 6 中的 CSS 增强功能
- 动态修改Tuxedo应用系统的配置(转自BEA)
- 武林中人,都很寂寞
- Tuxedo的配置管理简要说明(转)
- Trick:Make use of HAL class(Symbian)
- 【收藏】最有趣的程序
- 远程唤醒代码
- Windows XP注册表技巧
- VS.NET 2005安装中出现的"dte80a.olb could not be loaded"无法启动软件的原因和解决办法
- 两侧SELECT列表值的添加与移除
- 在eclipse中使用ant灵活构建web应用
- vim使用技巧
- oracle 常用数据类型