1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    73
    Vote Rating
    -1
    PhilChill is an unknown quantity at this point

      0  

    Default Unanswered: close app when user close application

    Unanswered: close app when user close application


    Hey guys,

    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.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    898
    Answers
    3575
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What do you mean close the application?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    73
    Vote Rating
    -1
    PhilChill is an unknown quantity at this point

      0  

    Default


    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.

  4. #4
    Sencha User
    Join Date
    Oct 2012
    Posts
    18
    Vote Rating
    0
    Answers
    2
    JohnM_ is on a distinguished road

      0  

    Default


    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?

Thread Participants: 2

Tags for this Thread