tags:

views:

790

answers:

3

Where is the API for J2ME? Why is it more difficult to find J2ME's API than its J2SE counterpart? Typing String and Java 1.6 will immediately present one with the String Javadoc for J2SE 6, but doing a similar thing for J2ME will present one with a specific phone manufacturer's Javadoc.

I am particularly looking for javax.microedition.io.file.FileConnection, but I am unable to find it on SUN Java's website.

+3  A: 

Some J2ME javadocs' can be found at gotapi, and you can always download the jsr documentation at the java community process site.

Another resource I found is the j2me page on mobilezoo (ie. the api you are looking for, the jsr 75).

I think that Sun doesn't keep these javadocs because they are out of their control. But sure the jcp guys should maintains a browsable version of the specifications.

cheng81
Even though I could not find the FileConnection JavaDoc on gotapi, it is a good reference for further work. Thank you.
+1  A: 

That is probably because the class is in an 'optional' package.

You can download the specification and javadoc from http://www.jcp.org/en/jsr/detail?id=75

Simon Groenewolt
A: 

The official Java ME API documents can be found here.

Matthew Brubaker