Android Question If used "exitapplication" will exit service same time?

Discussion in 'Android Questions' started by fash866, Apr 19, 2015.

  1. fash866

    fash866 Member Licensed User

    Hi :
    I hava a test , if i use exitapplication to exit my app ,the app service will exit the same time, is there any way to exit application but not exit the app service?

    PS: The serive is started by startservice().
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    ExitApplication kills the process. You should use Activity.Finish instead.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice