Ok Activity.finish is not doing what I need because my apps runs multiple modules and it just exits the current one and goes to the previous. Is there a way to quit everything at once?
You can use ExitApplication. This will kill the entire app.
NOTICE: It is NOT recommended to use this. Activity.Finish is the proper way to exit. What you should do is in each other Activity you are running, use Activity.Finish to return to the calling Activity. This way when you exit your Main Activity the other Activities will all ready be closed.
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.