i have an app in Blackberry, I was Build in using Jquery Mobile, but i have some problem, i want to close app using a button with Jquery Mobile command, here is currently my code
<ul>
<li><a href="#" id="exit" data-icon="delete">Exit</a></li>
</ul>
i have add feature in config.xml
<feature id="blackberry.system" ... ></feature>
and some Jquery Event
$function({
$("#id").click(function(){
device.exitApp();
});
});
but it won’t work att all, have i Miss something ? or the code is 100% wrong?
You need to add the
app Featureto have access to the Application API Methods<feature id="blackberry.app" />Then you can exit the app with :
See Documentation/API Reference