Sun Logo


Optional APIs Porting Guide

Sun Javatrademark Wireless Client Software 2.0

Java Platform, Micro Edition

05-2007



Contents

Preface

1. Overview

2. Porting the WMA Optional Packages

Design

Design Overview

Internal and External Push

Inbox and Message Pool

Asynchronous Message Transfers

Porting Notes

Message Porting APIs

Message Pool APIs

Interaction With the Push Subsystem

WMA Push Connections

Interactions With the Permission Management Subsystem

3. Porting the Mobile Media API

Capabilities

Porting Information

4. Porting the SATSA Optional Package

SATSA Code Structure

Security Elements

SATSA-APDU Package

CardDevice Implementation

Porting Layer I

procedure iconsmall spaceImplementing Porting Layer I

Porting Layer II

procedure iconsmall spaceImplementing Porting Layer II

Porting with the JavaCall API

Initialization and Finalization

Data Exchange

Locking

Retrieving Information

Error Handling

Simple Implementation of the APDU Package

Platform API

Build Options

SAT Connection

SATSA-CRYPTO Package

Implementation

Porting Notes

SATSA-PKI package

Implementation

Porting Notes

Static Access Control Mechanism

procedure iconsmall spaceLooking for an Access Control File

Definitions

Reference Implementation Version of ACF

Porting Notes

5. Porting CHAPI

CHAPI Code Structure

Porting Layer Functionality

Porting API Implementation Cases

Porting CHAPI

Porting Steps for the JavaCall API

6. OpenGL ES

Glossary

Index