The startApp() method is used to notify the MIDlet that it has entered in the Active state. In this state, it can hold resources. This method will only be called when the MIDlet is in the Paused state. The following is the general form of the method:
throws MIDletStateChangeException
It is possible that the startApp() method cannot start the MIDlet. It can happen due to the following two reasons:
The MIDletStateChangeException is thrown if the MIDlet cannot start immediately, but it can start after some time. If any runtime exception occurs during the process of startApp() method, the MIDlet will be destroyed immediately.
Download free practice test for SUN SCJA exam. Download free practice test for SUN SCJA exam.If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.