I'm working on a WP7.5 app where I use a background agent to update tiles in the background (when the app is not running).
In the OnInvoke method of the agent, is there a way to know if the main app is currently running ?
I'd like to detect that in order to NOT updating the tiles if the app is running because I already udpate them when the app exits.
Thank you.