zoukankan
html css js c++ java
symbian 获取手机型号
头文件:
#include <hal.h>
库:
hal.lib
代码:
Code
1
void
GetPhoneModeL(TDes
&
aModeBuf )
2
{
3
TInt machineUid
=
0
;
4
HAL::Get (HALData::EMachineUid, machineUid );
5
switch
(machineUid )
6
{
7
case
0x10200F9B
:
8
{
9
aModeBuf
=
_L(
"
Nokia 6682
"
);
10
break
;
11
}
12
case
0x10200F9C
:
13
{
14
aModeBuf
=
_L(
"
Nokia 6681
"
);
15
break
;
16
}
17
case
0x10200F99
:
18
{
19
aModeBuf
=
_L(
"
Nokia 6680
"
);
20
break
;
21
}
22
case
0x101FBB55
:
23
{
24
aModeBuf
=
_L(
"
Nokia 6630
"
);
25
break
;
26
}
27
case
0x101FB3F3
:
28
{
29
aModeBuf
=
_L(
"
Nokia 7610
"
);
30
break
;
31
}
32
case
0x101F3EE3
:
33
{
34
aModeBuf
=
_L(
"
Nokia 6620
"
);
35
break
;
36
}
37
case
0x101FB3F4
:
38
{
39
aModeBuf
=
_L(
"
Nokia 6260
"
);
40
break
;
41
}
42
case
0x10200F97
:
43
{
44
aModeBuf
=
_L(
"
Nokia 3230
"
);
45
break
;
46
}
47
case
0x101FB3DD
:
48
{
49
//
Nokia 6600
50
aModeBuf
=
_L(
"
Nokia 6600
"
);
51
break
;
52
}
53
}
54
}
55
查看全文
相关阅读:
Android 模拟系统事件(三)
全民Scheme(2):来自星星的你
Java经典23种设计模式之行为型模式(三)
libmysqld,嵌入式MySQLserver库
闲云控制台(一)控制台命令解析框架
怎样改动android系统字体大小
[多校2015.02.1006 高斯消元] hdu 5305 Friends
换工作经历和心得
安卓实训第七天---多线程下载实现(进度条)
校园双选会,你都懂么
原文地址:https://www.cnblogs.com/Zoya/p/1553499.html
最新文章
Shell Step by Step (3) —— Stdin & if
HSQL一个简短的引论
Linux在出现/java: cannot execute binary file
[PReact] Reduce the Size of a React App in Two Lines with preact-compat
[PReact] Use Link State to Automatically Handle State Changes
[Preact] Use State and Props in the Component Render Function
[Angular] Bind async requests in your Angular template with the async pipe and the "as" keyword
[PReact] Create a Hello World App with Preact
[React] Use React.cloneElement to Modify and Add Additional Properties to React Children
[Angular] Show a loading indicator in Angular using *ngIf/else, the as keyword and the async pipe
热门文章
[Yarn] Use Yarn to Create an Alternative Import Name of an Installed Library
[Node.js] Provide req.locals data though middleware
[Angular Unit Testing] Debug unit testing -- component rendering
顺序栈之C++实现
JEECMS用法总结
Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn
ognl.InappropriateExpressionException: Inappropriate OGNL expression: 1
Eclipse 配置Tomcat启动参数 Java EE IDE for Web Developers. Version: Helios Service Release 2
Qt编写端口扫描工具
创业文摘
Copyright © 2011-2022 走看看