Why do I get a ConnectionNotFoundException when trying to open a connection using the J2ME CLDC Connector class?

Bill Day

You are attempting to open a connection whose protocol is not supported on your particular device or emulator.

Please note that while the J2ME CLDC specification outlines the Generic Connection Framework, CLDC implementations are not required to provide any particular implementation of the framework. Rather, J2ME Profiles based upon the CLDC require that one or more protocols be implemented using the framework. For instance, the J2ME MIDP spec requires all compliant devices to implement HTTP using the Generic Connection Framework.

For more information, please refer to the CLDC and MIDP specifications linked to from:
java.sun.com/products/cldc
and
java.sun.com/products/midp

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact