# Table of Contents

- SUN Java Wireless Client (SJWC) Overview
- Start SJWC
- SJWC MIDlet Manager
- To Launch a MIDlet
- To Show MIDlet Information
- To Uninstall a MIDlet
- Security Settings
- To Install More MIDlets
- SJWC Network Setting
- SJWC Certificate setting

# SUN JWC Overview

JavaME is the de-facto standard for downloadable content for handheld devices. Tens of thousands of applications have been written for this common platform.

SJWC for Windows Mobile gives Windows Mobile devices the ability to run JavaME applications. Designed for performance by the people who invented Java.

MIDlets are applications written Java programming language which executed on the phone by the SJWC. MIDlets execute on the phones like any other phone application. The main difference is the way the user start, stop, install and delete them.

The following document describes the main functionality and usage scenarios of operating SJWC on a Windows Mobile phone.

Back to Table of Contents

# Start SJWC

SJWC is like any other Windows Mobile application. Open Windows Mobile "Start" menu and select the "Programs" menu items. SJWC program is called "SUN Java". Click on it to start the SJWC MIDlet manager.

Back to Table of Contents

# SJWC MIDlet Manager

The SJWC MIDlet Manager enables the user to download, install, launch, and manage MIDlets.

After SJWC MIDlet Manager is launched we will be in the "root" folder which contains 3 folders: "Game", "Application", and "Business". You can install MIDlets into these 3 folders or the "root" folder.

Press the "Menu" right soft-key to open the SJWC MIDlet Manager main menu. On the menu list you will find a list of common operations that a user may wish to perform for the selected folder or MIDlet.

Back to Table of Contents

# To Launch a MIDlet

Use the SJWC MIDlet Manager to browse and select the installed MIDlet you want to launch.

Then select the menu item "Menu-->Launch" to launch the MIDlet.

Back to Table of Contents

# To Show MIDlet Information

Use the SJWC MIDlet Manager to browse and select the installed MIDlets you want to check the MIDlet information.

Then select the menu item "Menu-->Information" to check the MIDlet information.

Back to Table of Contents

# To Uninstall a MIDlet

Use the SJWC MIDlet Manager to browse and select the installed MIDlets you want to delete. Then select the menu item "Menu-->Delete" to delete the MIDlet.

A confirmation dialog shall open. Asking you to confirm the delete operation. Pressing "Yes" will delete the selected MIDlet.

Back to Table of Contents

# Security Settings

Installed MIDlets may have different permission settings. Initial permissions are created by the MIDlet creator by "signing" the MIDlet with an Operator or Phone certificate. Each certificate provides a set of permissions to the MIDlet. A MIDlet which is not signed at all, will have a minimum set of permissions. User may override the initial set of MIDlet permissions by using a permissions dialog. To open the permissions dialog navigate to menu item "Menu-->Set Permissions"

There are several permission levels:
- Ask first time only: ask the user permission for that operation only once. All future accesses to this operation will not require user permission.
- Ask once per session: ask the user permission for that operation only once per execution of the "SUN Java" application. All future accesses to this operation will not require user permission (until we exit from "SUN Java" application).
- Ask every time: ask the user permission every time the operation is executed by the MIDlet.
- Do not allow: block any execution of this operation by the MIDlet.

Back to Table of Contents

# To Install More MIDlets

There are three different ways to start a new installation :
- Install MIDlets from the Internet: select the menu item "Download from Internet". A WEB browser shall be launched with the URL associated with the Folder (Game, Application or Business) the user selected. The user will then navigate to select a URL pointing to a .jad file. Pressing the .jad file will initiate the MIDlet installation.
- Install MIDlets located in the phone local file-system. Select menu item "From Storage". The MIDlet Manager will list all the available MIDlets on the phone file-system and let you select the one you wish to install.
- The user may also click on any .jad file in his phone file-system to start its installation.

Back to Table of Contents

# SJWC Network Setting

Some MIDlets would connect to the network and communicate with remote server. Select the menu item "Menu-->Network Option" to select the network profile used by SJWC.

Back to Table of Contents

# SJWC Certificate setting

Select the menu item "Menu-->Certificate" to browse the information of the certificates used by SJWC.

Back to Table of Contents