This document covers how to exit application.
For exiting application, there are two ways.
Clicking “Exit” key of remote controller.
Calling Tizen API,
So, if application relaunch, application launches from start again.
For hiding application, please refer to Multitasking.
“Exit” key is long press of “Return/Exit” key of remote controller.
If user clicks “Exit” key, application is just terminated by force.
So, you should not do anything such as registering “Exit” key.
If you call the following method, application is terminated.
Please refer to the Application API.
You can call this method if “Yes” button is clicked on exit confirm popup.
For more detail, please refer to Return Key Policy
As “Apps” policy, there are some regulations for “Return” key.
Please refer to the followings.
If “Return” key is clicked on “Detail Page”, previous page should be displayed.
If “Return” key is clicked on “Home Page”, “Exit Confirm Popup” should be displayed.
And then application is terminated, if “Yes” button is clicked on exit confirm popup.
You should make exit confirm popup with HTML element independently.