Motorola MOTORAZR maxx V6 Developer's Manual page 182

Java me developer guide
Hide thumbs Also See for MOTORAZR maxx V6:
Table of Contents

Advertisement

Java ME Developer Guide
Chapter 27 - Java.lang Implementation
27.1 java.lang support
Motorola implementation for the
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")
DRAFT - Subject to Change
Implementation
Code Sample 12 Java.lang implementation
Java.lang
method will sup-
27
[182/201]

Advertisement

Table of Contents
loading

Table of Contents