Additional APIs available for Java ME
Article Metadata
On mobile devices, Java ME provides some subset of "standard" APIs (JSR) and possibly some vendor specific APIs (in addition to whatever is defined in the configuration (CDC or CLDC) and the profile (MIDP or Personal Profile). This article outlines the main APIs on Nokia devices.
You have to be sure that the device the MIDlet is running on has the API before using it. You can check over platform information, for example for Series 40 or Symbian see Java ME API support on Nokia devices.
API Groups
There are two standards defined to reduce fragmentation, grouping many of the APIs in one platform name:
- Java Technology for the Wireless Industry (JTWI)
- Mobile Service Architecture (MSA)
Non standard APIs
Many APIs are specific to some vendor or operator. In this category, we can find:
Standard APIs
There are 82 JSRs defined in JCP about Java ME. Many of them are still in draft and will be available in future devices and some were deprecated. The list of Java ME JSRs is http://jcp.org/en/jsr/tech?listBy=1&listByType=platform
The most common additional APIs found on mobile devices are:
- Wireless Messaging API (WMA) (JSR 120)
- Mobile Media API (MMAPI) (JSR 135)
- FileConnection & PIM API (JSR 75), also known as PDA Optional Packages
- Bluetooth API in Java ME (JSR 82)
- Security and Trust Services API (SATSA) (JSR 177)
- Location API (JSR 179)
- SIP API (JSR 180)
- Mobile 3D Graphics API (JSR 184)
- Wireless Messaging API 2.0 (JSR 205)
- Content Handler API (JSR 211)
- Scalable 2D Vector Graphics API (SVG API) (JSR 226)
- Payment API (JSR 229)
- Advanced Multimedia Supplements (JSR-234) (AMMS API)
- Mobile Internationalization API (JSR 238)
- Contactless API (JSR 257)
- Web Services API (JSR 172)
- JDBC for CDC (JSR 169) (this isn't available in CLDC/MIDP devices)
- Java Binding for the OpenGL ES API (JSR 239)
- Mobile Sensor API (JSR 256)

