“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”
Read more comments...
What is the difference between .notifyDestroyed() and destroyApp(boolean)?
1,042 Views | (6 votes, avg: 3.17)
NotifyDestroyed() is a notification to all the thread in wait state. It is just to inform that current run midlet is destroyed.
destroyApp(), is standard calls for Midlet frame work to destroy Midlet. All the notification will be done here.
notifyDestroyed() is used to tell AppManager that the midlet is going to destroyed or not depending on boolean parametr passed in destroyApp() method.
Name (required)
Mail (will not be published) (required)
Your Answer
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
NotifyDestroyed() is a notification to all the thread in wait state. It is just to inform that current run midlet is destroyed.
destroyApp(), is standard calls for Midlet frame work to destroy Midlet. All the notification will be done here.
notifyDestroyed() is used to tell AppManager that the midlet is going to destroyed or not depending on boolean parametr passed in destroyApp() method.
Leave an Answer/Comment