This post originated from an RSS feed registered with Java Buzz
by Fred Grott.
Original Post: A typical Bug
Feed Title: ShareMe Technologies-The Mobile Future
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology. Old Archive .
You may be wondering why I wrtie my game framework libraries by going
through spec and handset vendor bug databases. Lets see an example. How
about
BugID4818037 (you need to be signed as developer to view) from the MIDP2.0
spec, SUN's BUG DB.
Baically, this bug means that
GameCanvas.getKeyState fails when the Canvas is not visble, ie does not
retunr 0. Wha tthis means is that any KVM or CVM based on MIDP2.0
spec/ref-ng-b45 wil have the bug. Since you will have handsets with this
bug and the bug fixed; you have to craft a workaround that works for both
condtions. Welcome to my nightmare.
Thus, when most experienced
J2ME coders say they are writing to spec; they are honestly writing to the
spec and bugs introduced in the devices by different version of the
implemented spec.