CHAPTER 4
Using the Emulator
The J2ME Wireless Toolkit emulator simulates a MIDP device on your desktop computer. It is a convenient way to see how your application performs in a MIDP environment and gives you a tight development cycle that is entirely contained on your desktop computer.
The emulator does not represent a specific device, but it provides correct implementations of its supported APIs.
4.1Emulator Skins
A skin is a thin layer on top of the emulator implementation that provides it with a certain appearance, screen characteristics, and input controls. The J2ME Wireless Toolkit comes with skins that represent different kinds of devices.
TABLE 3 | Emulator skins |
|
|
| |
|
|
|
|
|
|
Name |
| Screen size | Canvas size | Colors | Input |
|
|
|
|
| |
DefaultColorPhon | 240 x 320 | 240 x 289 | 4096 | ||
e |
|
|
|
|
|
DefaultGrayPhone | 180 x 208 | 180 x 177 | 4096 | ||
MediaControlSkin | 180 x 208 | 180 x 177 | 4096 | ||
QwertyDevice | 636 x 235 | 540 x 204 | 4096 | Qwerty | |
|
|
|
|
|
|
You can create your own emulator skins if you wish. See the Basic Customization Guide for details.
29