Java Reference
In-Depth Information
Because the PDA profile is a superset of the MID profile, applications that do not require a
sophisticated user interface or PIM access should be based on the MID profile. Table 1.3 s hows a
short comparison of the profiles.
Table 1.3. MIDP and PDAP Compar i son
MIDP
PDAP
No [*]
Available on phones
Yes
Available on PDAs
Yes
Yes
Basic UI capabilities
Yes
Yes
Yes [*]
Wireless Internet access
Yes
Sophisticated UI capabilities
No
Yes
Address book access
No
Yes
Calendar access
No
Yes
[*] Availability is device-dependent
Sun J2ME Software Development Kits
This section gives a short overview of the J2ME development tools that are currently available.
Unless explicitly stated otherwise, these CLDC and the MIDP SDKs from Sun are used as the
reference SDKs for the examples in this topic. The Sun SDKs are basis for several IDE add-ins
and are available for the widest range of operating systems.
Caution
Although the APIs are standardized, parts of the compilation process may change with newer
SDK versions. If you are in doubt or observe problems with the following instructions, please
refer to the documentation provided with your SDK.
Compared to developing for the desktop, targeting the Java 2 Micro Edition requires some
additional tools—a preverifier, at the least. Most SDKs do not bring in their own Java compiler;
they rely on an installed JDK 1.2 or 1.3. Several SDKs contain a device emulation. Of course, it
would also be possible to test the programs on the target devices directly. However, the
emulations normally allow faster installation, and most of them also provide some additional
debugging support.
Sun's J2ME CLDC Reference Implementation 1.0.3
The version 1.0.3 of the CLDC reference implementation (RI) does not contain any GUI classes. It
is available for Windows 98/NT (Win32), Linux, and Solaris. The CLDC RI provides command-
line tools only. For easier development, several integrated development environments provide
CLDC plug-in support.
Note
You can download the Sun CLDC reference implementation from the following URL:
http://www.sun.com/software/communitysource/j2me/
 
 
 
Search WWH ::




Custom Search