Supported Java APIs

The Mobile Information Device Profile (MIDP) provides basic requirements for creating Java ME applications. It also specifies standard system features such as user interface navigation and HTTP connections. In addition to MIDP, Series 40 and Symbian devices include a number of additional Java APIs for more specific purposes such as drawing vector graphics or using advanced cryptography. To simplify, MIDP can be thought of as a baseline set of APIs that can be extended with additional features from optional APIs when needed.

The following table lists the supported Java APIs in the Series 40 and Symbian platforms. The name of the API links to the implementation notes, while the JSR number links to the corresponding API specification ("Javadoc"). For older API specification versions, see Java API Specifications on Forum Nokia.

Table: Supported Java APIs

API

JSR

Description

Series 40

Symbian

Connected Limited Device Configuration (CLDC)

139 (CLDC 1.1)

30 (CLDC 1.0)

CLDC defines a standard platform configuration for Java ME.

CLDC 1.1

Series 40 2nd Edition

CLDC 1.0

Series 40 1st Edition

CLDC 1.1

S60 2nd Edition FP2

CLDC 1.0

S60 1st Edition

Mobile Information Device Profile (MIDP)

118 (MIDP 2.1)

38 (MIDP 1.0)

MIDP provides basic requirements for creating MIDlets. It also specifies standard system APIs for devices that define common features such as user interface navigation and HTTP connections.

MIDP 2.1

Series 40 5th Edition

MIDP 2.0

Series 40 2nd Edition

MIDP 1.0

Series 40 1st Edition

MIDP 2.1

S60 3rd Edition FP2

MIDP 2.0

S60 2nd Edition

MIDP 1.0

S60 1st Edition

Advanced Multimedia Supplements API (AMMS API)

234

The AMMS API allows you to build MIDlets with advanced multimedia features. You can access camera-specific controls such as brightness, contrast, flash, lighting modes, and zoom. You can also access radio and advanced audio processing capabilities.

Version 1.1

Series 40 6th Edition

Version 1.0

Series 40 5th Edition

Version 1.1

S60 5th Edition

Version 1.0

S60 3rd Edition FP1

Bluetooth API

82

The Bluetooth API allows you to use the features of the Bluetooth environment in your MIDlet.

Version 1.1

Series 40 5th Edition

Version 1.0

Series 40 2nd Edition

Version 1.1

S60 3rd Edition FP2

Version 1.0

S60 2nd Edition FP2

Contactless Communication API

257

The Contactless Communication API allows MIDlets to use the NFC capabilities of the device to communicate with contactless targets. Specifically, MIDlets can read and write small amounts of data to and from the tags in the contactless targets.

Note: The Contactless Communication API is also included in the Nokia 6131 NFC and Nokia 6212 Classic devices, which are based on the Series 40 platform.

 

Version 1.0

Java Runtime 2.2

Content Handler API (CHAPI)

211

The Content Handler API allows MIDlets to invoke registered Java ME and non-Java applications for content.

Version 1.0

Series 40 5th Edition FP1

 

embedded Standard Widget Toolkit API (eSWT API)

none (see Javadoc)

The eSWT API is an alternative UI toolkit for Java ME. It allows you to build MIDlets that use the platform's native UI to offer users a familiar and intuitive application interface.

 

Version 1.0.3

S60 3rd Edition FP2

Internet Access Point Info API (IAP Info API)

none (see Javadoc)

The IAP Info API allows MIDlets to access information related to Internet Access Points and Destination Networks.

 

Version 1.0

S60 3rd Edition FP2

Location API

179

The Location API allows MIDlets to access location information and services through GPS.

Version 1.0

Series 40 6th Edition

Version 1.0.1

Java Runtime 2.1

Version 1.0

S60 3rd Edition

Mobile 3D Graphics API (M3G API)

184

The Mobile 3D Graphics API allows MIDlets to use 3D graphics. The implementation is based on the OpenGL ES 1.0.

Version 1.1

Series 40 3rd Edition FP1

Version 1.0

Series 40 2nd Edition

Version 1.1

S60 3rd Edition FP1

Version 1.0

S60 2nd Edition FP2

Mobile Broadcast Service API

272

The Mobile Broadcast Service API provides interactive broadcast services, such as mobile TV, for mobile terminals.

 

Version 1.0

Java Runtime 2.2

Mobile Media API (MMAPI)

135

The Mobile Media API allows MIDlets to display images and play audio and video.

Version 1.2

Series 40 6th Edition

Version 1.1

Series 40 5th Edition

Version 1.0

Series 40 3rd Edition

Version 1.2

S60 3rd Edition FP2

Version 1.1

S60 3rd Edition FP1

Version 1.0

S60 1st Edition

Mobile Sensor API

256

The Mobile Sensor API allows you to develop MIDlets that use input from embedded or external sensors.

 

Version 1.2

Newer S60 3rd Edition FP2 devices and devices with Java Runtime 1.4

Nokia UI API

none (see Javadoc)

The Nokia UI API is a Nokia-proprietary extension to MIDP. It provides additional functionality, especially for game developers, in the form of audio and graphics capabilities.

Version 1.1b

Series 40 6th Edition FP1

Version 1.1a

Series 40 6th Edition (Navi Key devices)

Version 1.1

Series 40 2nd Edition

Version 1.0

Series 40 1st Edition

Version 1.4

Java Runtime 2.1

Version 1.3

Java Runtime 1.4

Version 1.2

S60 3rd Edition FP2

Version 1.1

S60 3rd Edition FP1

Version 1.0

S60 1st Edition

PDA Optional Packages:

75 (FC)

75 (PIM)

The FileConnection API allows MIDlets to access the device file system.

The PIM API allows MIDlets to access personal data stored by users, including contact lists, calendars, and to-do lists.

Version 1.0

Series 40 2nd Edition

Version 1.0

S60 2nd Edition FP2

Scalable 2D Vector Graphics API (SVG API)

226

The Scalable 2D Vector Graphics API allows MIDlets to load and render external 2D vector images stored in the W3C SVG Tiny format. The API may be extendable to support other formats.

Version 1.1

Series 40 3rd Edition FP2

Version 1.0

Series 40 3rd Edition FP1

Version 1.1

S60 3rd Edition FP1

Security and Trust Services API (SATSA API)

177

The SATSA API allows MIDlets to use PKI certificates, private data storage, cryptographic operations, and secure environment services for authentication, authorization, and identification. The API consists of three optional packages:

  • SATSA-PKI

  • SATSA-APDU

  • SATSA-CRYPTO

Version 1.0

Series 40 3rd Edition FP2

Version 1.0

S60 3rd Edition

Session Initiation Protocol API (SIP API)

180

The SIP API allows MIDlets to initiate, modify, and terminate an interactive user session involving elements such as video, voice, instant messaging, and online gaming.

The SIP API is only supported on S60 3rd Edition, S60 3rd Edition FP1, and S60 3rd Edition FP2 devices. S60 5th Edition and newer Symbian devices do not support this API.

 

Version 1.0.1

S60 3rd Edition

Web Services API

172 (RPC Package)

172 (XML Parser Package)

The Web Services API consists of two independent, optional packages designed to provide an infrastructure for the web services client/server architecture.

The Web Services API actually consists of a set of APIs (XML Parser Package JAXP and RPC Package JAX-RPC) that provides basic XML processing capabilities and allows the reuse of web service concepts when designing Java ME clients to enterprise services.

Version 1.0

Series 40 3rd Edition FP1

Version 1.0

S60 3rd Edition

Wireless Messaging API (WMA)

205 (WMA 2.0)

120 (WMA 1.0)

The Wireless Messaging API allows MIDlets to compose, send, and receive SMS and MMS messages.

Version 2.0

Series 40 3rd Edition FP1

Version 1.0

Series 40 1st Edition

Version 2.0

S60 3rd Edition

Version 1.0

S60 1st Edition