Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Porting from Core Java to J2ME

 
Sara Jahan
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yup, I am planning to port a PC game to a Sony Ericsson mobile.

I have source code for a v simple game - no heavy graphics just plain old-fashioned AWT.

Any pointers, any body?

Don't know from where to start. I am a j2me newbie.

Sara
 
William Frantz
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best advice is to choose your target handset and carrier carefully. There are lots of differences between phones and some carriers don't let you install your own applications.

Here's some information about how to get started with Sprint PCS.

http://www.sprintdevelopers.com/article1.html

William Frantz
http://sprintdevelopers.com
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you start looking on the CLDC/CDC/MIDP specifications, which are the barebones of J2ME APIs. Check them out at java.sun.com/j2me

First problem: plain-old AWT won't work, you have to use the MIDP LCDUI API.

Second problem: standard APIs are very reduced in CLDC J2ME devices, which should be your type of target device. For example: the CLDC java.util collection classes are only made up of Vector, Hashtable and Stack

The CDC API is more elaborate, though your device should not support it (if it does I would be surprised).

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic