Hello,
here is the code:
win.addEventListener('android:back', function(e) { Ti.API.Info("Please don't close!!!"); });Attached to a window object of course. When I hit the back button, the event get triggered but I get that error:
TypeError: Cannot find function Info in object [Ti.API]