Integration of Eclipse platform J2ME development

xiaoxiao2021-03-06  14

When using Eclipse to develop J2ME, it is best to integrate some of the commonly used manufacturers' simulators, more convenient. This article briefly introduces how to integrate NOKIA, Sony Ericsson, Samsung's simulator into the Eclipse environment. Note that the EclipseMe version I use is 0.4.3, and the new version may change, I hope I will throw the jade, and someone can add corrections. There are about three forms provided by the manufacturer: one is to provide a vendor version of WTK, such as Sony Ericsson, this WTK contains SDK and simulators, developers use this WTK to develop (the root is available in the standard WTK provided by SUN) The second is to provide development tools used in conjunction with WTK, such as NOKIA. You need to install the WTK in your first, and the Nokia development tool will make you choose the path to the WTK. The third is to provide an independent development environment, but not the form of WTK, such as MOTO. Moto's development tool has an emulator launcher, there are various simulators corresponding to SDK and compiled batch files. These three are what I have encountered, and others have not used it. For Sony Ericsson, NOKIA is relatively easy to integrate into Eclipse, because Eclipseme is also on WTK. If you integrate these vendors into a WTK, you can use it in Eclipse.

1. NOKIA Simulator NOKIA simulator is installed by the installer, in fact, find a full folder that has been installed, directly to the WTKLIB / Devices folder of the WTK, can be used. There are two nonsense, and I have access to 7210, 3300, S60Beta0.1 these simulators. Among them, 7210 support Chinese, starting speed, is the first choice for 40 development. 60 The simulator is slow, usually only used in transplantation.

2. Sony Ericsson K700 and Samsung SGH-S100, S200, C100 Simulator Sony Ericsson and Samsung are developing packages provided in WTK, and the simulator folders are in their WTK devices. Copy them to the WTK you use. But to change a place, otherwise you can't use it in Eclipse. Take Sony Ericsson K700 as an example, open the configuration file "Sonyericsson_K700.properties" in the simulator folder, search Keyboard.Handler = com.sun.kvem.midp.configurableKeyboardHandler, use the # 注 释 调, change to keyboard.handler = COM .sun.kvem.midp.defaultkeyboardhandler, so you can use it in Eclipse. However, Samsung's simulator can only be used under WTK2.2, if you don't want to change the current WTK, you have to install a WTK2.2, Eclipseme can support multiple WTKs at the same time, if you choose the project It is the configuration of WTK2.2 to select Samsung simulator in the Run's simulator menu. But there is still a problem, at least this version of Eclipseme, you need to open the property window of Project, delete all the content in the connection library (originally the default WTK2.2 lib) and manually add you Required libs, such as CLDC1.1, MIDP2.0, MMAPI, etc.

3. MOTO simulator I have no way to integrate them into Eclipse. I found that MOTO's simulator is not a WTK standard format, and its configuration file format is not compatible with the WTK emulator. This profile seems to be used by Launch.exe in the MOTO development tool. I hope that what understands can explain.

转载请注明原文地址:https://www.9cbs.com/read-50611.html

New Post(0)