Mobile Java 2 Development / J2ME

Intro

This page lists resources relevant for Mobile Java 2 Development / J2ME.

Table of Contents

1 Sun Certified Mobile Application Developer for the Java 2 Platform, Micro Edition, Version 1.0 (CX-310-110)
1.1 Annotated Exam Objectives
2 Terms
3 APIs
4 Sample Code

1 Sun Certified Mobile Application Developer for the Java 2 Platform, Micro Edition, Version 1.0 (CX-310-110)

Sun's objectives | JavaRanch

1.1 Annotated Exam Objectives

Section 1: JTWI (JSR 185) and Overview of JTWI-Compliant Wireless Applications

Section 2: CLDC 1.0 and 1.1

Section 3: Security (Both CLDC and MIDP)

Section 4: Networking

Section 5: Application Model, Delivery, Lifecycle, and Provisioning

Section 6: MIDP Persistent Storage

Section 7: Push Registry

Section 8: MIDP User Interface (UI) API

Section 9: MIDP Game API

Section 10: Media Using MIDP 2.0 and the MMAPI 1.1

Section 11: Wireless Messaging API 1.1

(End of Objectives)

2 Terms

3G |
"java"
cldc, midp
"profile", "configuration"
jar, manifest, jad
over the air provisioning (OTA), object push (OBEX)

SMS, MMS, MIME
http, https, ftp, socket, datagram, udp, ...

mobile standards / wikipedia links:

TDMA, CDMA, WCDMA, GSM, GPRS, CDMA2000-1X, CMA2000-MX, EDGE
(UMTS!)
SMIL

3 APIs

overview | JSR 30 (CLDC 1.0) | JSR 139 (CLDC 1.1) | JSRC 37 (MIDP 1.0) | JSRC 118 (MIDP 2.0) | JSR 82 (Bluetooth API and OBEX API) | JDK 1.3 API overview | package java.io | package java.lang | class java.lang.Runtime | class java.lang.System | System.getProperty() keys: microedition.platform, microedition.encoding, microedition.configuration, microedition.profiles, ?cellID? (>> lookup code) | package java.lang.ref | package java.util | package javax.microedition.io | class javax.microedition.io.PushRegistry | package javax.microedition.lcdui | package javax.microedition.media | package javax.microedition.media.control | package javax.microedition.midlet | package javax.microedition.pki | package javax.microedition.rms

WMA2: http://developers.sun.com/techtopics/mobility/midp/articles/wma2/ (API doc?)

4 Sample Code

4.1 HelloMobileWorld.java

package com.one0.mobile.test;

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

public class HelloMobileWorld extends MIDlet {

    public Hello(  ) { // constructor
    } // Hello

    public void startApp() {
       String s = "";
       s += "Hello mobile wireless world!";
       s += " / CellID: ";
       s += System.getProperty("CellID");
       s += " / battery level: ";
       s += System.getProperty("batterylevel");
       s += " / IMEI: ";
       s += System.getProperty("IMEI");
       s += " / imei: ";
       s += System.getProperty("imei");
       s += " / MSISDN: ";
       s += System.getProperty("MSISDN");

       Display display = Display.getDisplay(this);
       Ticker t = new Ticker(s);
       List l = new List("Autodestruct", Choice.EXCLUSIVE);
       l.append("yes", null);
       l.append("no", null);
       l.setTicker(t);
       display.setCurrent(l);
    } // startApp

    public void pauseApp() {
        ; // nothing
    } // pauseApp

    public void destroyApp(boolean b) {
        ; // nothing
    } // destroyApp
} // HelloMobileWorld

4.2 MANIFEST.MF

MIDlet-1: HelloMobileWorld, /one0.png, HelloMobileWorld
MIDlet-Description: HelloMobileWorld, hello mobile world app
MIDlet-Name: HelloMobileWorld
MIDlet-Vendor: Klaus Hildner
MIDlet-Version: 1.2
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-1.0

4.3 HelloMobileWorld.jad

MIDlet-1: HelloMobileWorld, /one0.png, HelloMobileWorld
MIDlet-Description: HelloMobileWorld, hello mobile world app
MIDlet-Icon: /one0.png
MIDlet-Jar-Size: 14758
MIDlet-Jar-URL: HelloMobileWorld.jar
MIDlet-Name: HelloMobileWorld
MIDlet-Vendor: Klaus Hildner
MIDlet-Version: 1.2

5 Misc.

http://www.mobile-phone-directory.org/Phones/Motorola/Motorola_V525.html

http://www.j2mepolish.org/devices/Motorola/V525.html

K-





-----Original Message-----
From: Hildner, Klaus
Sent: 29 March 2007 15:10
To: 'k@k-hi.net'
Subject: RE: j2me link collection


...

Strato: fax, sms?
http://www.strato.de/webhosting/unified.html


-----Original Message-----
From: Hildner, Klaus
Sent: 29 March 2007 13:03
To: Hildner, Klaus; 'k@k-hi.net'
Subject: RE: j2me link collection

Obfuscators:

http://proguard.sourceforge.net
http://www.retrologic.com/regroguard-main.html

K-

-----Original Message-----
From: Hildner, Klaus
Sent: 22 March 2007 17:35
To: 'k@k-hi.net'
Subject: RE: j2me link collection



Sun Certified Mobile Application Developer (SCMAD)

Sun Certified Mobile Application Developer for the Java 2 Platform, Micro Edition, Version 1.0 (CX-310-110)

http://www.sun.com/training/catalog/courses/CX-310-110.xml
>> exam objectives

$200



>> list of "hello world" programs necessary?



-----Original Message-----
From: Hildner, Klaus
Sent: 22 March 2007 13:45
To: 'k@k-hi.net'
Subject: j2me link collection
Importance: Low

...

src:

- hello mobile world
- show CellId
- complete list of items for CX-... (Sun-certified Mobile Application Developer)

"mobile patterns":

?

"technical specs":

Motorola V525: manual, implemented JSRs, downloads, etc. etc.

...

http://www.motorola.com/motoinfo/product/details.jsp?globalObjectId=37
http://www.vodafone.co.nz/mobiles/manuals/motorola_v525_guide.pdf (>> more generic?)

http://www.motorola.com/consumer/v/index.jsp?vgnextoid=06e1dd9fc0e2b010VgnVCM1000008206b00aRCRD&show=support&catName=9f8b1787c85c9010VgnVCM1000008206b00aRCRD&MHParam=ac0956566be2b010VgnVCM1000008206b00a____ >> check!!!!!

"References":

http://java.sun.com/javame
http://java.sun.com/products/sjwtoolkit/ << download!
http://www.j2meforums.com/forum/

http://en.wikipedia.org/wiki/J2me
"A free JVM for windows mobile"

http://en.wikibooks.org/wiki/Programming:J2ME:MIDP1

motorola.com
motocoder.com

link auf xing.com: de + en mobile community

illustrate: meine mobile photos + von wikimedia
K-