• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Porting Desktop App to Mobile

 
Dennis Putnam
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
Dennis Putnam
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start from scratch. Yikes!!! So if not JME then what?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only other mobile platform that bears a resemblance to Java is Android. But again - no AWT, no Swing, and a very different architecture.
 
Dennis Putnam
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like I should abandon it for now. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic