Nokia Notifications - NNAClientExample

Description

This example MIDlet shows you how to use the Nokia Notifications using the Nokia Notifications API.

Figure: NNAClientExample MIDlet running on a Nokia Asha software platform device

For a tutorial that shows you how to create this MIDlet, see section: Example: Receiving Nokia notifications.

Compatibility

This MIDlet is compatible with Java Runtime for Nokia Asha software platform (1.0) for Nokia Asha software platform devices and newer.

Note: Download and install the EnvironmentSelector MIDlet on the device before running the NNAClientExample MIDlet. The EnvironmentSelector MIDlet is required to set the Notification Enabler to point to the required environment (Sandbox environment in our case) on the device.

MIDlet project

The MIDlet distributable and source files are packaged as a zip file. To download the zip file, click the following link:

Download NNAClientExample (includes EnvironmentSelector MIDlet)

Table: MIDlet details

MIDlet version

1.0

Creation date

03 April 2013

IDE

Nokia IDE for Java ME (Eclipse) and NetBeans

SDK

Nokia Asha SDK 1.0

MIDlet classes

The MIDlet consists of the following classes (click to view the full source code):