站内搜索: 请输入搜索关键词

当前页面: 开发资料首页J2ME 专题Motorola的按键值

Motorola的按键值

摘要: Motorola的按键值
<tr><td>
http:///tech/article962.html
[转载于CSDN博客]


Motorola的键盘按键值不知道为什么不能统一一下.老是变来变去的,而且模拟器的键盘指和实际机器也有所不同。
到现在为之,我做过的MOTO的机器已经包括了MOTO V180,V501,V600,V3,C650,E680i。虽然MOTO不象NOKIA提供系列机的方便,但是MOTO的每款机器其实除了屏幕和按键值外,基本上都是相同的。MOTO的机器现在再怎么低端的,也都是MIDP2.0,这是它最大的优势。
[]
下面是我收集的几款MOTO的机器的按键值。其实这些在www.motocoder.com上都查询到。

MOTO V501,V600:

/** Moto V600键值 */
private final static int KEY_SOFTKEY1 = 21;
private final static int KEY_SOFTKEY2 = 22;
private final static int KEY_UP = 1;
private final static int KEY_LEFT = 2;
private final static int KEY_DOWN = 6;
private final static int KEY_RIGHT = 5;
private final static int KEY_STAR = 42;

MOTO V180,V3:

/** Moto V3键值 */
private final static int KEY_SOFTKEY1 = -21;
private final static int KEY_SOFTKEY2 = -22;
private final static int KEY_UP = -1;
[] private final static int KEY_LEFT = -2;
private final static int KEY_DOWN = -6;
private final static int KEY_RIGHT = -5;
private final static int KEY_STAR = -42;

然后还有就是C650和E680i,我这里没有记录了,希望大家也能给我提供一下资料!
http:///tech/article962.html
</td></tr></table></td> </tr> <tr> <td background="/pic/split.gif" height=1></td> </tr> <tr> <td class="tdMargin1">
↑返回目录
前一篇: J2ME Game开发笔记 - 多机型移植经验谈
后一篇: 有关Motorola J2ME开发的几个细节问题