Linked Questions

60 votes
6 answers
142k views

Possible Duplicate: Quitting an application - is that frowned upon? I want to offer the user an option to exit the application as I need to delete some sensitive data, which is stored in the ...
Nils's user avatar
  • 1,725
36 votes
12 answers
117k views

Please suggest how I may close my whole Android Application with one line code.
Amit's user avatar
  • 393
-1 votes
1 answer
10k views

Firstly, I've tried almost all the solutions about this issue but I can not find solution. Question: When user press exit button in my application I want to kill all application. There is a few ...
Ibrahim BOLAT's user avatar
3 votes
4 answers
2k views

Possible Duplicate: Quitting an application - is that frowned upon? I've written an android app, that has 5 activities. Each activity is started by the activity before it. When the user gets to ...
Coops5575's user avatar
  • 441
6 votes
3 answers
2k views

Possible Duplicate: Quitting an application - is that frowned upon? I have written a app,and override the onBackPress() method: @Override public void onBackPressed() { Log.e("Main Activity", "...
Rocky's user avatar
  • 1,287
2 votes
3 answers
4k views

I am working on an Android application which has logout button. When I click on that I need to close my app completely (I don't want to run the app in background as well). I tried with System.exit(0)...
Sekhar Bhetalam's user avatar
4 votes
2 answers
2k views

I have used the code from here in my app, when I click on 'Cancel' option ,the app just minimizes ,when I long press and hold Home button and select the app.It shows the same screen not the ...
Jason Wood's user avatar
1 vote
2 answers
1k views

Possible Duplicate: Quitting an application - is that frowned upon? How to exit the current application on a click of any button when I am in the middle of my application? finish() will only ...
Krishnan.S's user avatar
1 vote
2 answers
3k views

I am creating a button in my apps and by clicking this button, all the states will be saved and user will exit the whole application. When user re-click on the apps, he/she should be brought to the ...
Android_Rookie's user avatar
-9 votes
3 answers
7k views

How do i finish application? I use below code but is only finish current activity, go back to previous activity. I want to finish activity when button click i try finish(); system.exit(0); but not ...
Nice Guy's user avatar
0 votes
3 answers
2k views

Possible Duplicate: Quitting an application - is that frowned upon? I have an Android app on Android. The way it starts is that it has a main menu, then you click start, and that is where the main ...
Ephraim's user avatar
  • 8,441
0 votes
1 answer
551 views

How to exit application in android when I have multiple activities in that app? I have tried finish() and System.exit(0), but none of them worked. What it does is just go to the previous activity. ...
Nabeel Ahmed's user avatar
0 votes
1 answer
233 views

im developing a application where in in my main menu i have 4 buttons.the problem is one of my button(exit button) if i tap on that it intent to my previous activity..pls help me..ive tried to use ...
user2079544's user avatar
1 vote
1 answer
205 views

Possible Duplicates: force close the application Quitting an application - is that frowned upon? Hi, I have a lot of Activities and i want to exit the application - to close all activities and ...
Bakih's user avatar
  • 286
0 votes
3 answers
142 views

I am trying to apply exit functionality in my application on Home activity .I have tried some ways to perform my target like System.Exit(0); or finish(); or android.os.Process.killProcess(android.os....
Supreet's user avatar
  • 2,561

15 30 50 per page
1
2 3 4 5
16