Sun Microsystems
Computer Accessories
manual
Basic Customization Guide
Default Font
Abstract Command Menu
EnableAlphaChannel false
Page 1
Basic Customization Guide
Wireless Toolkit, Version 2.1
Java
TM
2 Platform, Micro Edition
Sun Microsystems, Inc.
4159 Network Circle
Santa Clara, CA 95054
U.S.A.
650-960-1300
December 2003
Page 1
Page 2
Image 1
Page 1
Page 2
Contents
Basic Customization Guide
Please
Contents
Examining Device Property Files
Default Emulator Device Property Files
Vi Wireless Toolkit Basic Customization Guide December
Figures
Viii Wireless Toolkit Basic Customization Guide December
Tables
Wireless Toolkit Basic Customization Guide December
How This Book Is Organized
Who Should Use This Book
Using Operating System Commands
Shell Prompts
Typographic Conventions
Related Documentation
Sun Welcomes Your Comments
Accessing Sun Documentation Online
How to Customize the Wireless Toolkit
Customizing the Wireless Toolkit
Customization Steps
Device Property Files and the Default Emulator
Customizing the Wireless Toolkit
Wireless Toolkit Basic Customization Guide December
Make a Copy of an Existing Main Device Property File
Creating Device Property Files
Obtain and Enter Image Files
Screen Location
Obtain and Enter the Screen Properties
Display Area
Total Screen Size
Specifying Screen Properties
Display Area in Full Screen Mode
By measuring the image file, obtain the button properties
Obtain and Enter the Button Properties
Height Width
Obtain and Enter Soft Button Label Areas
Soft button label display is defined by a line of the form
Defining the Icon Location and States
Obtain and Enter Icon Properties
Enter the following measured values for the icons properties
Run the Emulator for the New Device
Enter Color Properties
Screen Background RGB Color
Examining Device Property Files
Device Property Files
Fonts
Main Device Property File
Fonts Used by the Midp APIs
System Fonts
Default Font
Bitmap Fonts
Ascii character Distance to character
Device Image
Font Underlining
Image with Buttons Pressed
Image without Buttons Pressed
Image with Buttons Highlighted and Backlight On
Scaling
Screen Properties
Screen Location
Total Screen Size
Display Area in Full Screen Mode
Display Area
Screen Background Color
Screen Pixel Ratio
Touch Screen
Screen Border Color
Screen Buffering
Keyboard Handler
Device Buttons
Defining a Device Button
Button.LEFT = 13, 197, 20
Assigning a PC Keyboard Key to a Button
Specifying the Characters Generated by a Button Press
Assigning a Game Action to a Button
Abstract Command Types in Order of Precedence
Assigning Abstract Commands to Buttons
Emulating Abstract Command Button Assignments
Precedence of Assigning Commands to a Button
Secondary Button Assignments
Abstract Command Menu
Defining the Icon Location and States
Displayed Icons
Soft Button Labels on the Emulated Device Display
Soft Button Label Display
Sound Alerts
Color
Alert Type Values
Device Software Capabilities
Character Encodings
Locales
Transparent Images
EnableAlphaChannel false
Wireless Toolkit Basic Customization Guide December
Property Files
Default Emulator Device Property Files
DefaultGrayPhone.properties
Appendix a Default Emulator Device Property Files
Wireless Toolkit Basic Customization Guide December
Appendix a Default Emulator Device Property Files
Wireless Toolkit Basic Customization Guide December
# alert.alerttype.sound soundfile
Wireless Toolkit Basic Customization Guide December
Icon Image Files
Device Image Files
Icon Image Files
Adding a ByteCode Obfuscator
Support for ByteCode Obfuscators
Example
Appendix B Support for ByteCode Obfuscators
Wireless Toolkit Basic Customization Guide December
P E N D I X C
Wireless Toolkit Basic Customization Guide December
Index
Keyboard.handler property
Device property files, 1 WMA messages, customizing
Wireless Toolkit Basic Customization Guide December
Related pages
Troubleshooting Notes for Cleveland Range 24/36CGM
Specification Created 2/03 for GE PTS25LHPWW
Error messages for Panasonic KX-TG6722E
Input Timing Chart Example for Toshiba IK-TF7C
When using this camcorder first time for Samsung VP-DX200/EDC
Installation des piles suite for Bushnell 119405
Appendix PCB Layout Spare Parts List for Oki 3390
Appendix a Country/Area code list for Parental Lock for JVC XV-MK5GSL
Where can I find the ServSelect III cable specifications?
View cable specs
Top
Page
Image
Contents