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)

Card Slots in the Emulator

Java Card Platform Simulator (cref)

Adjusting Access Control

Specifying PIN Properties

Specifying Application Permissions

Access Control File Example

Running SATSADemos

APDUMIDlet

SATMIDlet

CryptoMIDlet

MohairMIDlet

Running SATSAJCRMIDemo

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)

JSR 238: Mobile Internationalization API (MIA)

JSR 229: Payment API Support

JSR 256: Mobile Sensor API Support

Index

Java Card Platform Simulator (cref)

The Java ME Platform SDK includes the Java Card Platform Simulator, which you can use to simulate smart cards in the Java ME Platform SDK emulator’s slots. The Java Card Platform Simulator is found in the following location:

installdir\bin\cref.exe.

Hereafter we refer to it as simply cref. The basic procedure for testing SATSA applications with the Java ME Platform SDK is as follows:

  1. Start cref with a Java Card platform application.

  2. Start the emulator.

    When a SATSA application attempts to communicate with a smart card, it uses a socket connection to communicate with cref.

For example, to run cref on port 9025 with a prebuilt memory image, use a command line similar to this:

start cref -p 9025 -i memory_image.eeprom

The Java ME Platform SDK includes a demonstration application, Mohair, which illustrates how to use SATSA. For detailed instructions on running Mohair, see .