Results 1 to 4 of 4

Thread: close app when user close application

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    73
    Vote Rating
    -1
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    What do you mean close the application?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    73
    Vote Rating
    -1
      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
    Answers
    2
    Vote Rating
    0
      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?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •