From within my app the physical android back button works mostly as expected, but pressing it a few times eventually takes the user back to the splash screen instead of closing the app. That is, the splash screen acts as if it was a window within my app.
Any ideas on how to get rid of this and have the app close instead of display the splash screen?
1 Answer
Accepted Answer
When you are creating your main window (the one that needs to close the app when the back button is pressed), make sure you set the exitOnClose property to true - like this for example:
var mainWindow = Titanium.UI.createWindow({ title:"Main window", exitOnClose:true });
Your Answer
Think you can help? Login to answer this question!