How can I detect if my Android app is displayed?
<p>I have an Android app with a service that runs in the background doing various client/server connections.  How can I check in my running service if any screen from my app is displayed?</p>
