• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Porting Midlets

 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have made a midlet, say for a phone A. I had the emulator for phone A. Now I want to port it to couple of other phones. Emulators for these phones are not available. Apart from this I don�t have the devices as well. But all these phones have same screen size as that of phone A.

I have created the GUI using low-level graphics. The GUI is such that the entire canvas is painted, from first pixel to the last one. I have created my own custom lists with two-way scrolling etc.

If the midlet works well on the emulator for phone A, can I assume that it will work on all other phones with the same screen size?

I was just thinking that if I use the full screen mode for the canvas, then maybe there would be fewer problems. The default/normal mode might be different for different devices even within the same brand.

Danish
 
William Frantz
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Danish Shaukat:
If the midlet works well on the emulator for phone A, can I assume that it will work on all other phones with the same screen size?


It should be that easy, shouldn't it? J2ME should be known as "Write once, debug everywhere."

In my experience, having an application work flawlessly in a simulator means that you are only about half done. Now you need to start testing real devices and then begin to "dumb down" your application to use the least common demoninator of MIDP APIs that actually work across all the devices you will deploy on. You have to implement work arounds for some features that just simply don't work.

You'll find that many JVMs in the field are horribly broken. It's not unlike trying to create w3.org standard web pages only to find out that IE, Firefox, and Opera all render things differently and each is frought with bugs.

William Frantz
http://sprintdevelopers.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic