Is it possible to find out when Android app returns from background? -
so, idea is: user launching application, , have perform task x.
user work time , quit (app in background now).
then open app again (from background) , have perform task x again.
in first case, can use oncreate()
of custom application
class, not simple second 1 - there's no onresume()
method or something. ideas?
accroding activity lifecycle every time activity no more shown user same method called, no matter if went background pressing "home", or overlayed activity.
Comments
Post a Comment