×
Namespaces

Variants
Actions
(Difference between revisions)

Additional APIs available for Java ME

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Fix link typos)
hamishwillee (Talk | contribs)
m (Hamishwillee - Add to Essential Idioms)
Line 1: Line 1:
[[Category:Java ME]]
+
[[Category:Java ME]][[Category:Essential Idioms]]
 
{{ArticleMetaData <!-- v1.1 -->
 
{{ArticleMetaData <!-- v1.1 -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
Line 23: Line 23:
 
|author= [[User:Firt]]
 
|author= [[User:Firt]]
 
}}
 
}}
 +
{{Abstract|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.}}
  
[[Java ME]] is based on different APIs ([[JSR]]) available in mobile devices, apart from the configuration (like [[CDC]] or [[CLDC]]) and the profile (like [[MIDP]] or [[Personal Profile]]).
+
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]].
 
+
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 [[S60]], to find [[Java_ME_API_support_on_Nokia_devices|which JSRs are available]].  
+
  
 
==API Groups==
 
==API Groups==
Line 55: Line 54:
 
*[[Scalable 2D Vector Graphics API]] (SVG API) (JSR 226)
 
*[[Scalable 2D Vector Graphics API]] (SVG API) (JSR 226)
 
*[[Payment API]] (JSR 229)
 
*[[Payment API]] (JSR 229)
*[[Advanced Multimedia Supplements API]] (AMMS API) (JSR-234)
+
*[[:Category:Advanced Multimedia Supplements (JSR-234)|Advanced Multimedia Supplements (JSR-234)]] (AMMS API)  
 
*[[Mobile Internationalization API]] (JSR 238)
 
*[[Mobile Internationalization API]] (JSR 238)
 
*[[Contactless API]] (JSR 257)  
 
*[[Contactless API]] (JSR 257)  

Revision as of 08:55, 5 July 2012

Article Metadata
Article
Created: firt (14 Apr 2007)
Last edited: hamishwillee (05 Jul 2012)

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:

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:

162 page views in the last 30 days.