
17
C H A P T E R
3
Examining Device Property Files
This chapter explains in detail the structure and content of device property files for
an emulated device.
The following is the list of the main behavior items that can be specified in the
device property files:
■
device image
■
locations of buttons, and association of PC keys with device buttons
■
screen location and resolution
■
fonts
■
displayed icons
■
location, font and alignment of soft buttons
■
color support
■
MIDP abstract command implementation
By creating a new set of device property files, you can customize the behavior of
the items that are described above to fit with the behavior of the real device. The
folder
wtklib\devices
in the binary release of the J2ME Wireless Toolkit
contains the device property files.
The syntax of device property files is that of the standard Java 2 Standard Edition
property resources. For a description of the syntax, see the method detail for the
load
method for the
Properties
class at the following website:
http://java.sun.com/j2se/1.4/docs/api/java/util/
Properties.html#load(java.io.InputStream)
For a description of the structure and content of device property files, see
“Device
Property Files” on page 18
.
Note –
If you would like to have a new device property file posted on the J2ME
Wireless Toolkit web site, or distributed with the next version of the J2ME Wireless
Toolkit, send email to
.
Summary of Contents for Computer Accessories
Page 6: ...vi Wireless Toolkit Basic Customization Guide December 2003 ...
Page 8: ...viii Wireless Toolkit Basic Customization Guide December 2003 ...
Page 10: ...x Wireless Toolkit Basic Customization Guide December 2003 ...
Page 18: ...4 Wireless Toolkit Basic Customization Guide December 2003 ...
Page 58: ...44 Wireless Toolkit Basic Customization Guide December 2003 ...
Page 72: ...58 Wireless Toolkit Basic Customization Guide December 2003 ...
Page 74: ...60 Wireless Toolkit Basic Customization Guide December 2003 ...
Page 77: ...Index 63 device property files 1 WMA messages customizing 59 ...
Page 78: ...64 Wireless Toolkit Basic Customization Guide December 2003 ...