Bada Question: Download Bada PDF

Suppose when a user presses the End button to kill the application, I want to stop this from happening so that the user can be prompted whether they want to save the state or not?

Tweet Share WhatsApp

Answer:

No, the application cannot stop itself from being terminated. If you must save the data, you can save it in the onAppTerminating () method, but you cannot provide any UI elements as the application is terminating. An alternative is to provide a settings page to get the user's preferences and use the appropriate logic in the onAppTerminating() method.

Download Bada PDF Read All 44 Bada Questions
Previous QuestionNext Question
Tell me can an application send an event to itself and capture it?Do you know Samsung bada promises to support multitasking. What is the maximum number of bada applications that can run simultaneously?