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.
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)
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
The MIDlet consists of the following packages and classes (click to view the full source code):
com.nokia.example.contenthandler.audiohandler
com.nokia.example.contenthandler.texthandler