In Android Studio, I can terminate a process. I can also kill process by using the kill
command. So I want to know what the exact meanings are of the below methods:
kill
commandand how to write a robust app to make sure the app will not have any crash problems when the app has been killed by the user or the system. Thanks.
Yes. In DDMS, "Stop Process" kills the process. With "Force Stop", not only is the process killed, but it is moved into the "stopped" state, where nothing in that app will run again until somebody manually runs one of that app's components (typically: the user launches an activity from the home screen).
You can read more about the stopped state in the Android 3.1 documentation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With