IT Questions and Answers :)

Wednesday, November 20, 2019

An application won't close on an Android phone. You've tried to Force Stop, but it doesn't work. What should you do next?

An application won't close on an Android phone. You've tried to Force Stop, but it doesn't work. What should you do next?

  • Soft reset the device
  • Hard reset the device
  • Stop the service in Running Services
  • Bring the device to an authorized service center 
An application won't close on an Android phone. You've tried to Force Stop, but it doesn't work. What should you do next?

EXPLANATION

Soft reset is one of the easiest ways you can rest your Android device. A soft reset means turn off your device and restart, it will shut all functions of your device and start it all over again. Doing this always refreshes your device clearing all running applications, which frees up the random access memory. It often increases functionality and does not affect your data.

Android apps can be stopped in three ways:
  1. Closing the app from the recent list (but this does not stop background services)
  2. Manually going to the 'Running Applications' setting and stopping the app or background process
  3. Force stopping the app
When method 1 and 2 mentioned above are used to end the application the onDestroy() method is called. In simple words, the application is closed with proper care and the programmer can do whatever they want before closing the app. So whenever the app is stopped in this way, the application is informed so that it can prepare itself to close.
But what if you Force Stop the app?
Well.. If you do this, the application is closed in a harsh way. This will immediately stop all processes (background process and foreground process) belonging to the app without informing it. So the application does not know that it will be stopped so it cannot prepare itself.
Example : If you start WhatsApp and then remove it from the recent list you will still receive notifications.
But if you Force Stop it, you will no longer receive notifications.
In simple words
Regular Stop:— 'Hey man i am going to shoot you. Any last wishes?'
Force Stop:— *Shoots

 

Share:

0 comments:

Post a Comment

Popular Posts