01-14-2011 01:29 AM - edited 01-14-2011 09:05 PM
Hi, I just compiled the sketchpadstandard into an app and currently have it running in the simulator. How do I exit/quit out of the app in the simulator?
Solved! Go to Solution.
02-18-2011 03:45 PM
Just in case you'd like to do it programmatically:
if (index==0) blackberry.app.exit();
var settings = new Array("Exit Dialog",blackberry.ui.dialog.SIZE_SMALL,blackberry
blackberry.ui.dialog.standardAsk("Exit?", blackberry.ui.dialog.D_OK_CANCEL, dialogOnExit, settings);
where onExit would treagered by some event, like a button click.
Don'f forget to add:
<feature id="blackberry.ui.dialog" required = "true" version="1.0.0"/>
<feature id="blackberry.app" required = "true" version="1.0.0"/>