Invoking applications - ContentHandler

Description

This example MIDlet suite shows you how to use the Content Handler API on Series 40 devices to:

  • Handle content locally in a MIDlet

  • Invoke content in an external content handling application

  • Register an application as a content handler

This example also shows you how to define the correct JAD attributes for content handling.

Figure: ContentHandler MIDlet running on a Series 40 full touch device

For a tutorial that shows you how to create this MIDlet, see section Example: Handling audio, image, and text content.

Compatibility

This MIDlet is compatible with Series 40 5th Edition Feature Pack 1 devices and newer.

This MIDlet has been tested on the following device:

  • Nokia Asha 311 on Nokia Asha software platform (Java Runtime 2.0.0 for Series 40)

  • Nokia C3-00 (Series 40 6th Edition)

  • Nokia X3-02 (Series 40 6th Edition Feature Pack 1)

MIDlet project

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

Download ContentHandler

Table: MIDlet details

MIDlet version

1.1.0

Creation date

25 April 2012

IDE

Nokia IDE for Java ME (Eclipse) and NetBeans

SDK

Nokia SDK 2.0 for Java

MIDlet classes

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