wood burning stoves*
The moose likes Java Micro Edition and the fly likes Porting Desktop App to Mobile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Porting Desktop App to Mobile" Watch "Porting Desktop App to Mobile" New topic
Author

Porting Desktop App to Mobile

Dennis Putnam
Ranch Hand

Joined: Feb 03, 2012
Posts: 210
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
Marshal

Joined: Mar 22, 2005
Posts: 41107
    
  45
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 - my free Android networking tools app
Dennis Putnam
Ranch Hand

Joined: Feb 03, 2012
Posts: 210
Start from scratch. Yikes!!! So if not JME then what?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41107
    
  45
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

Joined: Feb 03, 2012
Posts: 210
Sounds like I should abandon it for now. Thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: Porting Desktop App to Mobile
 
Similar Threads
GUI : how popular is Swing for desktop apps ?
Web Applications on Mobile Devices
incorportating 3rd party libraries
How to use Bluetooth API JSR82
Android app connecting to a server in a client/server capacity?