New features in Java Runtime for Nokia Asha software platform (1.0)

Java Runtime for Nokia Asha software platform (1.0) supports the following new features.

Application framework

  • The Mobile Internationalization API allows MIDlets to make use of internationalisation services provided by the API.

  • The implementation for the MIDlet lifecycle is updated so that the startApp and pauseApp methods are called when the MIDlet is pushed to the background by an external to the application event, such as a call, and when the MIDlet is resumed, respectively.

UI and graphics

  • The Image Scaling API allows MIDlets to downscale the device's images.

  • The Gesture API is expanded with one additional gesture, GESTURE_DOUBLE_TAP.

  • The CategoryBar can accommodate a maximum of four elements. In addition, the following modes are implemented for the CategoryBar that enable the generation of an action each time the same element is pressed more than once.

    • ELEMENT_MODE_STAY_SELECTED

    • ELEMENT_MODE_RELEASE_SELECTED

  • The launcher icons are of different sizes. Full touch devices use 56 x 56 pixels images within a surround shape of size 50 x 50 pixels and a centered logo area of 30 x 30 pixels. Nokia Asha software platform devices use 50 x 50 pixel images in a 42 x 42 pixels surround area, with a centered glyph of 30 x 30 pixels.

Multimedia

  • Supported capabilities of Advanced Multimedia Supplements has changed in Java Runtime for Nokia Asha software platform (1.0). Now tuner, imageencoding and imagepostprocessing capabilities are supported. For more information about the implementation, see the implementation notes for the Advanced Multimedia Supplements API.

  • The Nokia UI API's com.nokia.mid.sound.Sound and com.nokia.mid.sound.SoundListener classes are not supported anymore.

  • Nokia Asha software platform devices support a single Player instance in the STARTED state at a time.

Networking

The Network State API allows MIDlets to retrieve state change notifications pertaining to network, SIM and WLAN.

Security

  • Java Runtime for Nokia Asha software platform (1.0) introduces support for PKI and drops support for APDU. For more information about the implementation, see the Supported APIs for the Security and Trust Services API.

  • Java Runtime for Nokia Asha software platform (1.0) drops support for SATSA-APDU package of Security and Trust Services API. For more information about the implementation, see the Supported APIs for the Security and Trust Services API.

Data handling

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

  • The File Select API allows MIDlets to use the device’s native file browser to list and select files.

  • 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.

  • The Nokia Notifications API allows MIDlets to subscribe and get payload of a received notification.

Devices using this release

For more information about Nokia Asha software platform devices which use Java Runtime, see the device specifications page on Nokia Developer website. The support for Java Runtime can be checked for each device by clicking the 'APIs' tab when viewing a device specification.

Tools

Nokia SDK for Java Runtime for Nokia Asha software platform (1.0) can be downloaded from here.