06 eclipse me

Post on 01-Dec-2014

723 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

EclipseME

Cornelius Koo – 2005cornelius.mellino@gmail.com

The Eclipse

• http://www.eclipse.org/

The Plugin

• http://eclipseme.org/

Create New Project

(MIDlet Suite)

Converting From

Existing Project

EclipseME JAD

Item Contents

Midlet Jar

URL

The URL from which the JAR file can be loaded.

Midlet Name The name of the MIDlet suite that identifies the MIDlets to the user. Individual

MIDlets can also have names. See the Midlets tab below for that information.

Midlet

Vendor

The organization that provides the MIDlet suite.

Midlet

Version

The version number of the MIDlet suite. The format is

<major>.<minor>.<micro> as described in the Java Product Versioning

Specification. the J2ME container can use this for install and upgrade

purposes, as well as for communication with the user.

Microedition

Configuration

The J2ME Configuration required by this MIDlet suite, using the same format

and value as the system property microedition.configuration. For CLDC 1.0

compatibility, this field must be CLDC-1.0. In the future, this field will be used

to specify the required CLDC version.

Microedition

Profile

The J2ME profile required by this MIDlet suite, using the same format and

value as the system property microedition.profiles. For the MIDP 1.0 release

the content of this field must be MIDP-1.0. In the future, this field will be used

to specify the required MIDP version.

Item Contents

Name Name of the MIDlet. If there are multiple MIDlets in your suite, when

the user invokes the suite, the J2ME device will

typically prompt the user for the specific MIDlet to be executed. This

entry provides the name that will be shown to the

user.

Icon Path to the PNG file within the JAR file that contains the icon for this

MIDlet.

Class The MIDlet class itself. This is the class you created derived from

javax.microedition.midlet.MIDlet.

Item Contents

Midlet Permissions Permissions that your MIDlet must have in order to

operate correctly. Permissions are usually only

provided for signed MIDlets.

Optional Midlet Permissions Permissions that your MIDlet would like, but can

work without.

Midlet Data Size The minimum number of bytes of persistent data

required by the MIDlet. The device may provide

additional storage according to its own policy. The

default is zero.

Midlet Description The description of the MIDlet suite.

Midlet Icon The name of a PNG file within the JAR file used to

represent the MIDlet suite. It is the icon used by the

Java Application Manager to identify the suite. This

icon is for the suite as a whole, as distinct from the

Individual MIDlet icons you can set up on the

Midlets Tab.

Midlet Information URL A URL for information further describing the MIDlet

suite.

Item Contents

Midlet Delete

Confirm

A text message provided to the user when prompted to

confirm deletion of the MIDlet suite.

Midlet Delete

Notify

The URL to which a POST request is sent to confirm

successful deletion of this MIDlet suite.

Midlet Install

Notify

The URL to which a POST request is sent to confirm

successful installation of this MIDlet suite.

Item Contents

Key The key string used to retrieve the value.

Value The value associated with the key.

Create New MIDlet

Running & Debugging

Packaging

Adding JAR Files

Hardware JARs are added via Platform Components configuration

Software JARs are added via Project Properties

Upload to Your Hand-

Phone

• In this tutorial, we are using Sony Ericsson

K700i to be an application container.

Reference

• Core J2ME Technology and MIDP. John

W. Muchow. Prentice Hall PTR, 2002.

• Enterprise J2ME: Developing Mobile

Java Applications. Michael Juntao Yuan.

Prentice Hall PTR, 2003.

• J2ME in A Nutshell. Kim Topley. Oreilly,

2002.

• EclipseME Help.

top related