×
Namespaces

Variants
Actions
(Difference between revisions)

Additional APIs available for Java ME

From Nokia Developer Wiki
Jump to: navigation, search
davidmaxwaterman (Talk | contribs)
m (Standard APIs)
hamishwillee (Talk | contribs)
m (Hamishwillee - Adding missing translation link)
(14 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[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]]).  
+
[[Category:Java ME]][[Category:General Programming]]
 +
{{ArticleMetaData <!-- v1.1 -->
 +
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Qt SDK 1.1.4]) -->
 +
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 +
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|id= <!-- Article Id (Knowledge base articles only) -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20070414
 +
|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.}}
  
You have to be sure if a device has installed an API before using it. You can check over platform information, for example for [[Series 40]] or [[S60]] wich JSR are available.
+
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==
 
==API Groups==
 
There are two standards defined to reduce fragmentation, grouping many of the APIs in one platform name:
 
There are two standards defined to reduce fragmentation, grouping many of the APIs in one platform name:
*[[Java Technology for the Wireless Industry]] ([[JTWI]])
+
*Java Technology for the Wireless Industry ([[JTWI]])
*[[Mobile Service Architecture]] ([[MSA]])
+
*[[Mobile Service Architecture]] (MSA)
  
 
==Non standard APIs==
 
==Non standard APIs==
 
Many APIs are specific to some vendor or operator. In this category, we can find:
 
Many APIs are specific to some vendor or operator. In this category, we can find:
 +
*[http://library.developer.nokia.com/index.jsp?topic=/Java_Developers_Library/GUID-FE7AA52A-49CD-4D62-B3C3-7130AA16E882.html eSWT API]
 +
*[http://library.developer.nokia.com/topic/Java_Developers_Library/GUID-660EC670-B7DB-4005-BF2D-411E5C0B3867_overview-d0e54534.html IAP Info API]
 
* [[Nokia UI API]]
 
* [[Nokia UI API]]
  
Line 16: Line 42:
  
 
The most common additional APIs found on mobile devices are:
 
The most common additional APIs found on mobile devices are:
*[[Wireless Messaging API]] ([[WMA]]) (JSR 120)
+
*[[Wireless Messaging API]] (WMA) (JSR 120)
*[[Mobile Media API]] ([[MMAPI]]) (JSR 135)
+
*[[Mobile Media API]] (MMAPI) (JSR 135)
 
*[[FileConnection & PIM API]] (JSR 75), also known as PDA Optional Packages
 
*[[FileConnection & PIM API]] (JSR 75), also known as PDA Optional Packages
*[[Bluetooth API]] (JSR 82)
+
*[[Bluetooth API in Java ME]] (JSR 82)
 
*[[Security and Trust Services API]] (SATSA) (JSR 177)
 
*[[Security and Trust Services API]] (SATSA) (JSR 177)
 
*[[Location API]] (JSR 179)
 
*[[Location API]] (JSR 179)
Line 28: 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)
 +
*[[: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)  
Line 34: Line 61:
 
*[[Java Binding for the OpenGL ES API]] (JSR 239)  
 
*[[Java Binding for the OpenGL ES API]] (JSR 239)  
 
*[[Mobile Sensor API]] (JSR 256)
 
*[[Mobile Sensor API]] (JSR 256)
[[Category:Series 40]][[Category:Java]][[Category:S60]]]]
+
<!-- Translation --> [[pt:APIs adicionais disponíveis para a plataforma Java ME]]

Revision as of 08:33, 18 September 2012

Article Metadata
Article
Created: firt (14 Apr 2007)
Last edited: hamishwillee (18 Sep 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:

129 page views in the last 30 days.