I have 4 activities,
1, 2, 3 and lock Activity ,
there are 2 buttons in each activity…
Next 1>2>3 and 3>2>1 back,
I want only in activity 2 anytime the phone lock button or The recent app button or the home button is pressed and the lock activity is displayed,
so that it does not affect the next and back buttons and the activity of these two buttons and the back button of the phone is not disturbed,
at the same time with on pause and on stop and other Android life cycles I did it but it didn’t work well… Please guide me with an example…
Android life cycles and…
user25155060 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.