Motorola C381P technical manual Java.lang Implementation, Java.lang support

Models: C381P

1 130
Download 130 pages 15.6 Kb
Page 29
Image 29

7

Java.lang Implementation

7 Java.lang Implementation

java.lang support

Motorola implementation for the java.lang.System.getProperty method will support additional system properties beyond what is outlined in the JSR 118 specification and is controlled by a flex bit. These additional system properties can only be accessed by trusted MIDlets.

The additional system properties are as follows:

Cell ID: The current Cell ID of the device will be returned during implementation.

IMEI: The IMEI number of the device will be returned during implementation.

The Code Sample 1 shows java.lang support:

System.getProperty("phone.mcc")

System.getProperty("phone.mnc")

System.getProperty("phone.imei")

System.getProperty("phone.cid")

System.getProperty(“phone.lai”)

System.getProperty(“phone.ta”)

Code Sample 1 Java.lang support

29

Page 29
Image 29
Motorola C381P technical manual Java.lang Implementation, Java.lang support