I am trying to write an app that does something specific when it is brought back to the foreground after some amount of time. Is there a way to detect when an app is sent to
You can use:
protected void onRestart ()
To differ between new starts and restarts.