I have an Activity that opens a new Activity for result like this:
Intent i = new Intent(ActDocument.this, ActCustomers.class);
startActivityForResult(i, Act
Perhaps the back
button doesn't finish the Acivity. So, override onBackPressed
.
most of the time Back button will finish the activity unless you specific override the
OnBackPressed()
I think your problem is lack of resources, or maybe you have some developer options like kill activty flag or limit background process check this.
Update
Go to setting-> developer options unchecked don't keep activities and background process limit set to standard limit.