Want to do several things if user presses home button

It is impossible to detect the home button press action inside an application. The reason for doing so is to prevent malicious apps that cannot be exited.

Source: Detect home button press in android

Leave a Comment