onExitClose property for window is not working for Android.

You must Login before you can answer or comment on any questions.

I have a Android app made in titanium. I didn't added any features to the application to give response with back button of the device. But now when I press the back button it comes to the Splash screen page and if I press the back button again it goes to one of the page of the application and it gets hanged. So Now I wanted to make the app close whenever I press the back button. After that I have written the code " onExitClose = true " whenever it oen a new window. But it didn't work. Please suggest...

2 Answers

Hello Raju,

See the Property exitOnClose in this LINK

— answered 11 months ago by Ritesh .
answer permalink
1 Comment
  • Yes I have used this while creating a new window. But it didn't work.

    — commented 11 months ago by Raju Mahato

My Window is not heavy weight . so android:back is only work for Heavy weight . but how to close low weight window with android device back Button

Your Answer

Think you can help? Login to answer this question!