To quit android application you need to finish the current activity of your app:

getActivity().finish();
System.exit(0);

Please login or Register to submit your answer

Log In

Not the answer you are looking for? Browse other questions tagged or ask your own question.