We all know that pressing the "Back" button on the device does not kill the application, it simply terminates (destroys) the action that is performed in the foreground.
Well, I came across some code that helps me capture the signal of the back button so that I cannot exit the application. The only way to get out of it in such cases is to press the home key.
Now this situation presents me with a unique flaw! The inability to kill to terminate the application at any time at its discretion allows the application to run in the background, as nothing has changed.
So, in such cases, the task manager is my only friend, or is there a way that I can otherwise kill this application?
PS: if there is a flaw in my understanding of what happens when the home button is pressed, I would gladly fix it ... =)
source
share