Viewing and Editing Project Properties
Running Projects in the Emulator
Searching the WURFL Device Database
Finding Files in the Multiple User Environment
CLDC Emulation on a Windows Mobile Device
Installing CLDC Emulation on a Windows Mobile Emulator
JSR 82: Bluetooth and OBEX Support
JSR 135: Mobile Media API Support
JSR 177: Smart Card Security (SATSA)
JSRs 184, 226, and 239: Graphics Capabilities
JSR 205: Wireless Messaging API (WMA) Support
JSR 211: Content Handler API (CHAPI)
Defining Content Handler Properties
Defining Content Handler Actions
JSR 238: Mobile Internationalization API (MIA)
This demo is a content browser that takes advantage of the content handler registry. It allows you to view different types of content from different sources.
In the user interface, select File > Open Sample Project > CHAPIDemo.
In the device selector, right-click on a device, select Run Project OTA, and choose CHAPIDemo.
You are asked to enter the password for the keystore. Type: keystorepwd
You are asked to enter the password for the “dummyca“ key pair alias within the keystore. Type: keypwd
On the Favorite Links page, choose CHAPI Demo. Press the menu soft button and choose 1, Go.
The Text Viewer displays a Media Player URL and links to various media files.
Select Duke.png. Use the arrows to highlight the link, then select the file. Using CHAPI, the ImageViewer MIDlet runs and displays the Duke image. Select the Back soft key to return to the Text Viewer.
Install the Media Player to view media.
Select the URL http:handlers/MediaHandler.jad.
Select the Menu soft button and select item 1, Go.
The application asks, “Are you sure you want to install Media Handler?“ Select the Install soft key. For the rest of this demo, click Install if you are asked for confirmation.
The installation finishes and you return to the Text Viewer.
View different media files.
Select a URL from the list, select the Menu soft button and select item 1, Go.