This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.)