Your application may include an option for users to update or change settings, or perhaps the ability to truly exit the application gracefully by closing down all services and storing state or data.
In this recipe, we will create a simple application that interacts with the device's native menu button to create a sliding submenu:
submenuby running the following command:
phonegap create submenu com.myapp.submenu submenu
cordova platform add android
www/index.htmland let's clean up unnecessary elements. We'll also manipulate the DOM elements, so include a reference to the
xui.jsfile within ...