Simulate killing of activity in emulator
You can pause your application (by pushing the Home button, simulating a call, whatever). Then kill the app’s process through adb. Since the docs say that after onPause() returns your app can be killed without any further notice, this is a fair test. If you don’t want to go through the trouble of finding the … Read more