Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Java Technology : Education - online courses
J2ME: Step by step
Download tutorial zip fileView letter-sized PDF fileView A4-sized PDF fileE-mail this tutorial to a friend
Main menuSection menuGive feedback on this tutorialPreviousNext
10. MIDP API
  


MIDP API page 3 of 6


MIDP encompasses the four core CLDC packages (java.lang, java.io, java.util, and javax.microedition.io), plus the following three MIDP-specific packages:

  • javax.microedition.lcdui
  • javax.microedition.midlet
  • javax.microedition.rms

We will detail each of the MIDP-specific packages later in this section. In addition to the above new packages, MIDP also adds four new classes, shown below, to the core CLDC packages.

  • java.util.Timer -- Used to schedule tasks for future execution in a background thread.

  • java.util.TimerTask -- Used by the java.util.Timer class to define tasks for later execution in a background thread.

  • javax.microedition.io.HttpConnection -- An interface that defines the necessary methods and constants for an HTTP connection.

  • java.lang.IllegalStateException -- A RuntimeException that indicates that a method has been invoked at an illegal or inappropriate time.

Main menuSection menuGive feedback on this tutorialPreviousNext
PrivacyLegalContact