Skip to content

Instantly share code, notes, and snippets.

@jonalter
Created March 18, 2011 19:49
Show Gist options
  • Save jonalter/876715 to your computer and use it in GitHub Desktop.
Save jonalter/876715 to your computer and use it in GitHub Desktop.
android:back event
var mainWin = Ti.UI.createWindow({
backgroundColor: 'blue',
exitOnClose: false,
fullscreen: true
});
mainWin.addEventListener('android:back', function(e) {
Ti.API.info('clicked BACK button');
});
mainWin.open();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment