J2ME MIDP CLDC to CDC
Hi All,
We have a J2ME MIDP CLDC which we want to convert to CDC in order to support devices such as SHARP GX17
Currently we are using Java Studio Mobility.
How do we convert ?
Are ther saples of CDC code for simple user interface ?
Which tool should we use ?
Many thanks.
Hi,
There is not so many developertools for the Java ME/CDC platform, but I think you should have a look on Netbeans Mobility Pack for CDC.
http://www.netbeans.org/kb/55/developing-savaje.html
Before you begin, you need to install the following software on your computer:
- Java Standard Development Kit (JDK™) version 5.0
- NetBeans IDE 5.5 Beta
- NetBeans Mobility 5.5 Pack for CDC Preview version
- Sun Java Toolkit 1.0 for CDC, Early Access
Regards,
Ove
What i've done for working in CDC is used IBM's Websphere Device Developer (WSDD) which can be downloaded for free on a 120 day trial version. CDC expects a device with a larger memory and thus the restrictions on GUI tools are not so limited. All the microedition GUI stuff is not implemented in CDC, which is a subset of j2se 1.3.1.
The main difference here is that CDC does not support swing (use AWT instead) and it has support for comm communication using the javax.microedition package. A full spec of the CDC profile can be found here
http://java.sun.com/products/personalprofile/
For porting your application you will have to use a completely new graphics set & implement window/action listeners as opposed to using Commands (CLDC). Also assuming you're working with RMS you will have to write your own classes to store this stuff.
Hi,
Netbeans also support AGUI (jsr-209) --> Swing.
If you look on a SavaJe phone they running Java ME/CDC 1.1 and on top of that MIDP and AGUI. I have written a blog about this: http://ovenordstrom.blogspot.com/2006/08/ercp-embedded-rich-client-platform.html
There is also an web site dedicated to CDC:
http://www.blueboard.com/javame/
-ove