Is there any way in android to determine when the user clicked the app icon to launch the app ? I mean say a user was using my app. Then he presses the home key as a result of which the app goes to the background. After sometime he clicks the app icon again. My question is do I get a call-back for this ?
Share
Just to inform, I used the flag
android:clearTaskOnLaunch="true"in my launcher activity. As a result, its onResume method was called and I could identify that the launcher icon was clicked