I have an Android application. When I tap the home button and ‘minimise’ the app, I want to be able to execute code when the user reopens it.
Looking at methods such as onResume()
and onCreate()
I think they don't fit my needs.
I specifically want to prompt the user with a login dialog before he continues where he left off.
Any suggestions?