- install eclipseME plugin
- install sun's wireless tool kit 2.1 or other compatible toolkits
- enter windows->preference->platform components, right click wireless ToolKits and select add..... Select the right directory(sample: C:/WTK21)
- for Moto SDK,
- you may choose to add one profile. sample(MOTOM1--add midp.zip in M1 lib as external jar)
- Add platform definition. Sample(MOTOM1--select the profile MOTOM1)
- Enter Run->External Tools->External Tools.. and create a new configuration by clicking button(NEW) Parameters are set as below sample for V600(j2me-v600):
- Location: C:/Program Files/Motorola/SDK v4.3 for J2ME/EmulatorA.1/bin/emujava.exe
- working directory: c:/Program Files/Motorola/SDK v4.3 for J2ME/EmulatorA.1/bin
- arguments: ${project_loc}/deployed/${project_name}.jad -deviceFile resources/V600.props
- you may get working information by run "C:/Program Files/Motorola/SDK v4.3 for J2ME/launchpad.exe"
- To create a new J2ME project, you may first create a j2me project and then create a midlet
- To test it with MOTO V600 simulator, you need to create the package first and then select run->external tools->j2me-v600
- To test it with sun's simulator, just enter run->run as->Emulated J2ME Midlet
configuration for eclipseME plugin in eclipse 3.1[eclipse ME 在eclipse 3.1中的配置(以MOTO为例)]
最新推荐文章于 2024-04-15 21:25:36 发布