22 Nov 2012 12:27 AM #1
Unanswered: close app when user close application
I have a question is it possible to close the application as soon the user close the application on the mobile device. In my case it would be to redirect the user to the login page when he closes the application.
23 Nov 2012 12:51 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What do you mean close the application?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
28 Nov 2012 11:48 PM #3
I mean with it when the user close the application complete ....like on an iPhone when the user press the button to return to his dashboard. If the user is doing that the app should close complete and if the user starts the app the app should open the login page.
12 Dec 2012 1:00 PM #4
I suppose that another way of putting it would be , "What event fires when the app loses focus?"
I'm curious about this too - I need to return a user to a login screen if they move to another app or the phone screen blanks (...etc...) Does anyone have an idea what event(s) I should be looking for here?