Action when touching android menu button

Good afternoon, I need help to know how the cell phone button is called or when pressed, it goes to the main screen of android, I do not know if I was clear when explaining. My intention is that when pressing it the notification is activated, I already have it armed and working with the back button but I cannot know how I put it in that menu button

You need to use either when app closed or when app paused event

1 Like

Use app stopped or app paused block.

1 Like