Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0

Get PDF Book Print View

Document Information

Getting Started

Java ME Platform SDK Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Monitoring Network Traffic

Lightweight UI Toolkit

Security and MIDlet Signing

BD-J Support

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator

On-device Debugging

Command Line Reference

Logs

JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

JSR 179: Location API Support

JSRs 184, 226, and 239: Graphics Capabilities

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

Using Content Handlers

Defining Content Handler Properties

Defining Content Handler Actions

Running the CHAPIDemo Content Browser

JSR 238: Mobile Internationalization API (MIA)

JSR 229: Payment API Support

JSR 256: Mobile Sensor API Support

Index

Using Content Handlers

Follow these steps to work with content handlers.

  1. In the Projects window, right-click a project name and choose Properties from the context menu.

  2. In the Category pane, select Application Descriptor, and click the Content Handler tab.

  3. In the Content Handlers table, each line in the list represents the settings for a content handler.

    As shown below, two content handlers have been configured, one for TextViewer and one for ImageViewer.

    Content Handlers
    • To create a new content handler, press Add, or to edit an existing content handler, press Edit. Both actions open the Content Handler Properties window. See Defining Content Handler Properties.

    • To adjust the order of the content handlers, select one and using the Move Up and Move Down buttons. To remove a content handler from the list, select it and press Remove.

See also Defining Content Handler Properties, Defining Content Handler Actions, and Running the CHAPIDemo Content Browser.