JSRs and APIs

The following tables list changes in JSRs and APIs between Nokia Asha software platform and Series 40 full touch platforms.

New APIs

JSRs and APIs

Description

JSR 238 — Internationalisation API

The Mobile Internationalisation API (JSR-238) defined in JSR-238, allows MIDlets to make use of internationalisation services provided by the API. This API provides locale-specific renditions of dates, time, numbers, percentages, and currency amounts. It can also compare two strings using locale specific rules.

Contact API

The Contact API allows MIDlets to discover and receive changes to the device’s contacts in the phonebook.

Image Scaling API

The Image Scaling API allows MIDlets to downscale the device’s images. The images can be downscaled either by file size or by dimension (i.e. width and height).

Network State API

The Network State API allows MIDlets to retrieve state change notifications pertaining to network, SIM, and WLAN. For example, network state changes include in home network, no network, and in roaming network.

Nokia Notifications API

The Nokia Notifications API allows delivering messages from a notification service (MIDlet-specific internet service) to a notification application (MIDlet capable of receiving such notifications) on the Nokia Asha software platform devices.

Phone Setting API

The Phone Setting API allows MIDlets to retrieve settings and state change notifications pertaining to various phone settings such as, flight mode, data connection, vibration mode, silent mode, and so on.

Nokia UI API — File Select API

The File Select API allows MIDlets to use the device’s native file browser to list and select files. The listing of files can be filtered by URL path and media type, and single as well as multiple files can be selected.

Changed APIs

JSRs and APIs

Description

JSR-75 — PIM API

Dropped support for To-Do list.

JSR-177 — Security and Trust Services API

Dropped support for SATSA-APDU.

JSR-234 — Advanced Multimedia Supplements API

Added support for imageencoding, imagepostprocessing, and tuner capabilities (tuner control).

Removed support for audio3d, and music capabilities.

Nokia UI API — Category Bar API

Support for only 4 icons placed using IconCommand.

Nokia UI API — Gesture API

Added support for double tap gesture.

Nokia UI API — Popup List API

Dropped support for list dialog.

Dropped support for the following PopupListItem types — 1. Text and icon, 2. Text and check box and 3. Text, icon, and check box.

Removed APIs

JSRs and APIs

Description

Nokia UI API — Sound API

Dropped support for com.nokia.mid.sound (use javax.microedition.media package instead).