exit application - Forum - Mobile - Progress Community

exit application

 Forum

exit application

This question is not answered

How can one make their application exit completely from the device? 

All Replies
  • Hello,

    Are you asking about adding an option to programmatically exit the app?

    Or on how exit an application for testing purposes?

    Mobile apps should not have an option to close.

    Here are some links to Apple's documentation on this subject:

    - developer.apple.com/.../StartingStopping.html

    (See section "Always Be Prepared to Stop".)

    - developer.apple.com/.../Multitasking.html

    - developer.apple.com/.../_index.html

    If you just want to terminate a mobile app for testing, then you can access the multi-tasking options and remove the running app from the list. iOS and Android provides ways to do this.

    I hope this helps.

  • Hi there,
     
    I am wanting to programmatically exit the app.
     
    Thanks,
     

    Meyrick Flanegan

    Developer - Managed Services

    Email: mflanegan@elcb.co.za

     

    ELCB Information Services (Pty) Ltd

    Customer Service Email  elcb@elcb.co.za · www.elcb.co.za

    E A S T  L O N D O N

    Tel: +27(43)  704 0700

    Fax: +27(43) 704 0701

    J O H A N N E S B U R G

    Tel: +27(11) 879 6179

    Fax: +27(11) 454 0384

    P O R T  E L I Z A B E T H

    Tel: +27(41) 373 0529

    Fax: +27(86) 650 0135

    Disclaimer


    From: egarcia [mailto:bounce-egarcia@community.progress.com]
    Sent: 01 October 2014 03:46 PM
    To: TU.Mobile@community.progress.com
    Subject: RE: [Technical Users - Mobile] exit application
     
    Reply by egarcia

    Hello,

    Are you asking about adding an option to programmatically exit the app?

    Or on how exit an application for testing purposes?

    Mobile apps should not have an option to close.

    Here are some links to Apple's documentation on this subject:

    - developer.apple.com/.../StartingStopping.html

    (See section "Always Be Prepared to Stop".)

    - developer.apple.com/.../Multitasking.html

    - developer.apple.com/.../_index.html

    If you just want to terminate a mobile app for testing, then you can access the multi-tasking options and remove the running app from the list. iOS and Android provides ways to do this.

    I hope this helps.

    Stop receiving emails on this subject.

    Flag this post as spam/abuse.

  • Apple will reject those apps that try to close themselves.

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

  • From an UI design / OS consistency point of view, applications should (must) not include an option to exit the app.

    Here are a couple of quotes from Apple's documentation:

    An iOS app never displays a Close or Quit option. People stop using an app when they switch to another app, return to the Home screen, or put their devices in sleep mode. A: There is no API provided for gracefully terminating an iOS application.

    A: There is no API provided for gracefully terminating an iOS application.

  • OK that’s fine, I understand that but would this work the same for android?
     

    Meyrick Flanegan

    Developer - Managed Services

    Email: mflanegan@elcb.co.za

     

    ELCB Information Services (Pty) Ltd

    Customer Service Email  elcb@elcb.co.za · www.elcb.co.za

    E A S T  L O N D O N

    Tel: +27(43)  704 0700

    Fax: +27(43) 704 0701

    J O H A N N E S B U R G

    Tel: +27(11) 879 6179

    Fax: +27(11) 454 0384

    P O R T  E L I Z A B E T H

    Tel: +27(41) 373 0529

    Fax: +27(86) 650 0135

    Disclaimer


    From: egarcia [mailto:bounce-egarcia@community.progress.com]
    Sent: 01 October 2014 05:01 PM
    To: TU.Mobile@community.progress.com
    Subject: RE: [Technical Users - Mobile] exit application
     
    Reply by egarcia

    From an UI design / OS consistency point of view, applications should (must) not include an option to exit the app.

    Here are a couple of quotes from Apple's documentation:

    An iOS app never displays a Close or Quit option. People stop using an app when they switch to another app, return to the Home screen, or put their devices in sleep mode. A: There is no API provided for gracefully terminating an iOS application.

    A: There is no API provided for gracefully terminating an iOS application.

    Stop receiving emails on this subject.

    Flag this post as spam/abuse.

  • Android has the same design guidelines.
    Your app should take care to behave nicely & persist data when the user switches away from it.
    Once the user’s switched away, your application’s lifecycle is in the hands of the OS, which might kill it if it wants to free RAM.
     
    Designing mobile apps does require a change in thinking about application lifecycles.
    The good news is that there is good documentation out there about managing lifecycles
     
    From: mflanegan [mailto:bounce-mflanegan@community.progress.com]
    Sent: 02 October 2014 06:23
    To: TU.Mobile@community.progress.com
    Subject: RE: [Technical Users - Mobile] exit application
     
    Reply by mflanegan
    OK that’s fine, I understand that but would this work the same for android?
     

    Meyrick Flanegan

    Developer - Managed Services

    Email: mflanegan@elcb.co.za

     

    ELCB Information Services (Pty) Ltd

    Customer Service Email  elcb@elcb.co.za · www.elcb.co.za

     

    E A S T  L O N D O N

    Tel: +27(43)  704 0700

    Fax: +27(43) 704 0701

    J O H A N N E S B U R G

    Tel: +27(11) 879 6179

    Fax: +27(11) 454 0384

    P O R T  E L I Z A B E T H

    Tel: +27(41) 373 0529

    Fax: +27(86) 650 0135

     

    Disclaimer

     
    From: egarcia [mailto:bounce-egarcia@community.progress.com]
    Sent: 01 October 2014 05:01 PM
    To: TU.Mobile@community.progress.com
    Subject: RE: [Technical Users - Mobile] exit application
     
    Reply by egarcia

    From an UI design / OS consistency point of view, applications should (must) not include an option to exit the app.

    Here are a couple of quotes from Apple's documentation:

    An iOS app never displays a Close or Quit option. People stop using an app when they switch to another app, return to the Home screen, or put their devices in sleep mode. A: There is no API provided for gracefully terminating an iOS application.

    A: There is no API provided for gracefully terminating an iOS application.

    Stop receiving emails on this subject.

    Flag this post as spam/abuse.

    Stop receiving emails on this subject.

    Flag this post as spam/abuse.





    Business Computer Projects Ltd is a limited company registered in England and Wales.

    Registered number: 1813992. Registered office: BCP House, 151 Charles Street, Stockport, Cheshire SK1 3JY. Tel: +44 (0)161 355-3000. Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com

    Disclaimer: This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either the sender or Postmaster@BCPSoftware.com immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails.