Should I do initialing work in midlet constructor?
0 posts in topic
Flat View  Flat View

Posted By:   Gudy_Xu
Posted On:   Monday, September 22, 2003 05:17 AM

From Learning wireless Java by Qusay H.Mabmoud, I learned that I should never call
Display.getDisplay() in midlet constructors, because that may cause errors by application manager.

But the startApp() method may be called many times, and that would consume much time if initialing work is done in the startApp() method.

So, how should I do?

About | Sitemap | Contact