Hello All,
how can I implement a feature like "app lock", with the behavior as follows:
- If any Activity of app is open, the user can navigate freely
- After all Activities are closed or minimized, when the user click on app icon an Activity with an edittext/password box or any unlock method is showed
Is it possible to detect, when closing or minimizing an Activity, that there is no one remaining open on the screen ? (to write a flag that could be checked at the start of each Activity signaling that the entire app was closed or in background?)