Hardware mapping – Motorola HANDSET C381P User Manual

Page 67

Advertising
background image

15
User
Display Interface

67

Hardware Mapping

The J2ME standard provides a minimum key set that is determined to be available on all
devices. These key sets are to be mapped by the individual hardware manufacturers to a
specified command set for application use. In addition, if other hardware keys are
available, it is left to the manufacturer to determine the functionality of these keys. The
following sections detail the standard J2ME required keys and the Motorola proprietary
reserved key sets.

J2ME Standard Key Set

If present on the device specific hardware, the following keys are to be available to the
J2ME application. The J2ME application can assign actions to these key inputs per the
design of the application.

• Keys 0 through 9, the * key and the # key shall be available to the application

for use. The J2ME application can either retain the standard functionality (i.e.
a key press of 6 indicates the use of the number value six) or the application
can map these keys to application specific use (i.e. the number 6 could map
to a right action key).

Motorola Standard Key Set

The following keys are not available to the J2ME application and are retained by the
handset for Motorola specific usage regardless of J2ME application processing. These
keys and associated actions will always retain a higher priority than the J2ME application.
This will ensure that some minimal level of control is always available to the handset user,
regardless of the actions of a J2ME application.

End Key

The End key shall always terminate the current J2ME application and return the user back
to the mobile idle state.

Send Key

The Send key shall always remain independent of any J2ME applications. When a
telephone number from a J2ME application is displayed, the handset shall attempt to
place the call if the Send key is pressed.

Left, Right and Menu Soft Keys

The J2ME standard allows for a global command set to be available to the application
developers. This complete command list is: SCREEN, BACK, CANCEL, OK, HELP,
STOP, EXIT, MENU AND ITEM.
For all other global commands, the handset shall use the default label (which will be the
same name as the command) if a label is not supplied. If a command label supplied by the
J2ME application is too long, it should be truncated.

Advertising