I want to close my application, so that it no longer runs in the background.
How to do that? Is this good practice on Android platform?
If I rely on the \"ba
Put a finish(); statement as below:
finish();
myIntent.putExtra("key1", editText2.getText().toString()); finish(); LoginActivity.this.startActivity(myIntent);
In every activity.