Not quite an answer, but the system will not allow me to comment.
You really need to know what running background applications are, or just if your applications are running in the background. If the latter, I think you can build something using the runtime repository
source
share