The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Going Mobile with Duke
Subject:  Write once, rewrite everywhere
Date:  2004-09-18 17:05:44
From:  tregnier
Response to: Write once, rewrite everywhere


Phones are mass market products. They often have a few bugs when they are put on the market, and the first buyers have no simple ways to get fixes.

But this is not as bad as it could first seem. Nokia has lines of products : series 30, 40 and 60 for MIDP 1.0 and series 40 and 60 for MIDP 2.0. So testing on the oldest model of each line is sufficient to be quite sure your app will work on about 20 models of Nokia phones.

The 7210 is the oldest model of MIDP 1.0 series 40 phones, so it is the best one to work with (newer should have less bugs). I am using the Nokia 7210 emulator that works with Sun Wireless toolkit, and you can use System.err.print to have a debug trace of your app.
On real phones, I put traces as new Command, so that I have lots of debug info in the menu of my phone while debugging the app. It works on all models, it is that simple...

SonyEricsson new phones have great debug support on the phones, but not having simple debug tools, doesn't mean you can't debug on other phones.

There is NO phone I know where my midlets don't work, I found solutions for each issue, and I still have only one version of each midlet for all the phones (more than 20 models used).

If you need help, send me a mail by clicking on my login tregnier on my java.net TastePhone project home page.

 Feed java.net RSS Feeds