Heavyweight window android:back event
Hello,
I want to create a heavyweight window. This window should have a 'android:back' event. When I create a heavyweight window and add the event the window just closes. My code is:
var windows = Ti.UI.createWindow({
title: 'Title',
fullscreen: false
});
windows.addEventListener('android:back', function(e){
alert('Back');
});
windows.open();
Does anyone knows how to solve this?
Greetings,
Jacob
2 Answers
-
Found the solution. I used SDK 1.4.1.1 instead of SDK 1.5.0
-
In your createWindow add: "navBarHidden:true". That should work.