C H A P T E R 2
Creating Device Property Files
This chapter presents a simple tutorial that walks you through the procedures for creating a device property file. You will learn how to use the new device property files to enable the J2ME Wireless Toolkit to emulate applications for the device. See Chapter 3, “Examining Device Property Files” for a detailed reference on device properties, the
In the following
The steps of the tutorial are:
■Make a Copy of an Existing Main Device Property File
■Obtain and Enter Image Files
■Obtain and Enter the Screen Properties
■Obtain and Enter the Button Properties
■Obtain and Enter Soft Button Label Areas
■Obtain and Enter Icon Properties
■Enter Color Properties
■Run the Emulator for the New Device
Make a Copy of an Existing Main Device Property File
You will create a device property file for a new emulated device called NewPhone.
The first step in creating a property file for NewPhone is to copy the directory associated with the existing device, DefaultColorPhone, to the new directory NewPhone and to rename the main property file.
5