This post originated from an RSS feed registered with Java Buzz
by Marc Logemann.
Original Post: MIDP 1.0 2.0 aka the migration hell
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
In my spare time, i am coding some simple MIDP wireless applications doing interactions with an IBM iSeries. At the moment i am preparing slides and a demo application for a conference, and i am really astonished how crazy this MIDP 1.0 spec is.
I had the idea to include also MIDP 2.0 code and ask the device what it is capable of. BOING. Not possible. You can only query your JAD/manifest properties with a getAppProperty(), how stupid is that? Perhaps i am missing some important points, but this is somehow braindamaged. But it gets even more worse. If you want to query the device screen size, you can only do ... BOING ... nothing. In MIDP 2.0 i found getWidth() inside Displayable, but nothing in MIDP 1.0. What a Canvas where i dont know how much i can write on it. This is so strange, that i must miss something, anyone with hints?
Sometimes i read the Shareme Blog, he seems to be a 100% fulltime MIDP coder, would like to know his oppinion about this.