This online 10 hour online course delivered over three weeks that introduces Java programmers to the Java Micro Edition, or JavaME, and develops skills in Java programming for mobile devices via the Mobile Information Device Profile, or MIDP. (The MIDP is the “profile” defined within the J2ME for small mobile devices such as cellphones and PDAs.) The course begins with a top-down tour of the JavaME architecture, focusing on mobile programming via the Connected, Limited Device Configuration, or CLDC, and the MIDP. Students learn the simple Core API of the CLDC – primarily by contrast to the Java Standard Edition (Java SE) Core API – and then move into the individual packages of the MIDP.
Course starts with an introduction to the development environment; Eclipse Mobile Tools for Java MTJ, and the Nokia SDK for Java.
MIDP study begins with three lessons on different aspects of user-interface design, which in MIDP is dramatically different from standard Java. Students learn the User Interface frameworks, and how to use commands and events. Students then study the MIDP Record Management System for limited persistent storage on the device, and then work on mobile networking.
The next module of the course moves beyond basic knowledge of the API to develop effective coding techniques. Students study multithreading, both using the basic Thread/Runnable model and the CLDC’s Timer and TimerTask classes. The bulk of this module is an in-depth treatment of memory management – which is crucial to effective programming on tiny devices – including techniques for controlling object creation and reuse, string manipulation, and array-based memory management. A whole section discusses good MIDP programming practices, and the module concludes with a discussion of MIDP in the larger context of networked applications, and particularly with respect to Java EE.
The final module covers Nokia Store and teaches you how to publish and sell your mobile applications.
This course focuses on the application of concepts through substantial hands-on exercises: instructor-led demonstrations and individually-performed labs. A moderately complex MIDP application – a “MIDlet” – is developed over the course as a case study in all the course topics and skills.