1.安装eclipse及其MTJ(Mobile Tools for Java)插件
我们选择这个版本,则不需另外下载插件。
2. 安装无线设备应用编译、模拟工具 、运行环境:
Wriseless Toolkit 2.5.2 jdk-6u7-windows-i586-p.exe
3.配置Eclipse Mobile tool for Java
设置WTK路径就可以完成compile, preverify, package, obfuscate, and run your MIDP applications 。

4.获取WTK所支持的所有设备类

5. 新建一个MIDlet Project编译运行

设置运行调试模拟器
debug界面

运行结果
阅读(1063) | 评论(1) | 转发(0) |