Motorola maxx V6 Java.lang Implementation, Java.lang support, Draft Subject to Change 182/201

Models: maxx V6

1 201
Download 201 pages 31.32 Kb
Page 182
Image 182

Java ME Developer Guide

Chapter 27 - Java.lang Implementation

27

Java.lang Implementation

27.1 java.lang support

Motorola implementation for the ￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿ method will sup- port additional system properties beyond what is outlined in the JSR-118 specifica- tion.

The additional system properties are as follows:

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

Battery Level: The current battery level of the application will be

returned during implementation. Battery values are the following: low battery, 1, 2, and 3, based on the battery level.

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

MSISDN: The MSISDN of the device will be returned during implementation.

The IMEI and MSISDN properties will not be available for unsigned MIDlets. The Code Sample 12 shows the java.lang implementation:

System.getProperty("batterylevel")

System.getProperty("MSISDN")

System.getProperty("CellID")

System.getProperty("IMEI")

Code Sample 12 Java.lang implementation

DRAFT - Subject to Change [182/201]

Page 182
Image 182
Motorola maxx V6 manual Java.lang Implementation, Java.lang support, Draft Subject to Change 182/201