I have a working desktop app that I now want to port to mobile devices. Is there a tutorial somewhere that can help me? My first concern is that I have my build path correct. By default my IDE (Eclipse with MTJ plug-in) set up JavaME library and JRE System library (J2SE-1.5). Is that typical? In my initial attempt I am getting an error on all my 'package' statements. They generally start with "Error preverifying class ..." and end with "Cannot find class ....". I find it odd that the error is flagged there rather than whatever statement is using the class in question. In any case I am guessing that means I am missing certain libraries that may or may not be available for a mobile app. These are the kinds of things I need to learn to resolve. TIA.
For starters, having the JSE libraries in your classpath won't work - there is no mobile device out there that supports JSE. The GUI and architecture differences between JME and JSE are so big that I think you should just forget about "porting". Start from scratch building a JME app. (Of course, IMO, JME is dead, and using it to build anything new at this point is wasted time and effort.)
Ping & DNS - updated with new look and Ping home screen widget
Joined: Feb 03, 2012
Start from scratch. Yikes!!! So if not JME then what?
Joined: Mar 22, 2005
The only other mobile platform that bears a resemblance to Java is Android. But again - no AWT, no Swing, and a very different architecture.